mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
fixes during testing version 5
This commit is contained in:
@@ -103,7 +103,7 @@ class StockEntry(StockController):
|
|||||||
|
|
||||||
for f in ("uom", "stock_uom", "description", "item_name", "expense_account",
|
for f in ("uom", "stock_uom", "description", "item_name", "expense_account",
|
||||||
"cost_center", "conversion_factor"):
|
"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))
|
item.set(f, item_details.get(f))
|
||||||
|
|
||||||
if not item.transfer_qty:
|
if not item.transfer_qty:
|
||||||
|
|||||||
Reference in New Issue
Block a user