fixes during testing version 5
This commit is contained in:
parent
249bbbc56f
commit
40fffc0f4d
@ -103,7 +103,7 @@ class StockEntry(StockController):
|
||||
|
||||
for f in ("uom", "stock_uom", "description", "item_name", "expense_account",
|
||||
"cost_center", "conversion_factor"):
|
||||
if not item.get(f):
|
||||
if f not in ["expense_account", "cost_center"] or not item.get(f):
|
||||
item.set(f, item_details.get(f))
|
||||
|
||||
if not item.transfer_qty:
|
||||
|
Loading…
x
Reference in New Issue
Block a user