fix: missing assign item's expense_account
As in dict object "ret", missing assign item's expense_account will cause it then fetches the default stock_adjustment_account in 'Company'.
This commit is contained in:
parent
0ebace5da2
commit
75d9d79fac
@ -757,7 +757,8 @@ class StockEntry(StockController):
|
||||
'serial_no' : '',
|
||||
'has_serial_no' : item.has_serial_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
|
||||
|
Loading…
x
Reference in New Issue
Block a user