copy date to receipt after pay in hdcase

stable
watcha.h 2016-01-08 15:08:49 +07:00
parent bb21f53e42
commit caccf2dee8
1 changed files with 2 additions and 1 deletions

View File

@ -520,7 +520,8 @@ class HDCase(Model):
"company_id": company_id,
"type": "in",
"pay_type": "direct",
'date': time.strftime("%Y-%m-%d"),
#'date': time.strftime("%Y-%m-%d"),
'date': obj.date,
"account_id": cash_account_id,
'related_id': "clinic.hd.case,%s"%obj.id,
'ref': bill_no or obj.number or "",