Merge pull request #20730 from AndyOverLord/patch-1

fix: missing selected item's expense_account
This commit is contained in:
Deepesh Garg 2020-02-26 10:16:30 +05:30 committed by GitHub
commit 6e170e16e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -757,7 +757,8 @@ class StockEntry(StockController):
'serial_no' : '', 'serial_no' : '',
'has_serial_no' : item.has_serial_no, 'has_serial_no' : item.has_serial_no,
'has_batch_no' : item.has_batch_no, 'has_batch_no' : item.has_batch_no,
'sample_quantity' : item.sample_quantity 'sample_quantity' : item.sample_quantity,
'expense_account' : item.expense_account
}) })
# update uom # update uom