copy date to receipt after pay in hdcase
parent
bb21f53e42
commit
caccf2dee8
|
@ -520,7 +520,8 @@ class HDCase(Model):
|
||||||
"company_id": company_id,
|
"company_id": company_id,
|
||||||
"type": "in",
|
"type": "in",
|
||||||
"pay_type": "direct",
|
"pay_type": "direct",
|
||||||
'date': time.strftime("%Y-%m-%d"),
|
#'date': time.strftime("%Y-%m-%d"),
|
||||||
|
'date': obj.date,
|
||||||
"account_id": cash_account_id,
|
"account_id": cash_account_id,
|
||||||
'related_id': "clinic.hd.case,%s"%obj.id,
|
'related_id': "clinic.hd.case,%s"%obj.id,
|
||||||
'ref': bill_no or obj.number or "",
|
'ref': bill_no or obj.number or "",
|
||||||
|
|
Loading…
Reference in New Issue