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,
|
||||
'purpose': 'Receipt',
|
||||
'company': self.company,
|
||||
'transaction_date': getdate(nowdate()),
|
||||
'transaction_date': getdate(self.purchase_date),
|
||||
'reference_doctype': reference_doctype,
|
||||
'reference_name': reference_docname
|
||||
}).insert()
|
||||
|
Loading…
Reference in New Issue
Block a user