fix: asset movement date for backdated asset entry (#23298)
This commit is contained in:
parent
93dccd2eaa
commit
8f43cf2c9a
@ -146,7 +146,7 @@ class Asset(AccountsController):
|
|||||||
'assets': assets,
|
'assets': assets,
|
||||||
'purpose': 'Receipt',
|
'purpose': 'Receipt',
|
||||||
'company': self.company,
|
'company': self.company,
|
||||||
'transaction_date': getdate(nowdate()),
|
'transaction_date': getdate(self.purchase_date),
|
||||||
'reference_doctype': reference_doctype,
|
'reference_doctype': reference_doctype,
|
||||||
'reference_name': reference_docname
|
'reference_name': reference_docname
|
||||||
}).insert()
|
}).insert()
|
||||||
|
Loading…
Reference in New Issue
Block a user