minor fix
This commit is contained in:
parent
760bfb27d0
commit
58aea1f819
@ -98,7 +98,7 @@ class StockEntry(StockController):
|
|||||||
if f in ["stock_uom", "conversion_factor"] or not item.get(f):
|
if f in ["stock_uom", "conversion_factor"] or not item.get(f):
|
||||||
item.set(f, item_details.get(f))
|
item.set(f, item_details.get(f))
|
||||||
|
|
||||||
if self.difference_account and item.expense_account=="":
|
if self.difference_account and not item.expense_account:
|
||||||
item.expense_account = self.difference_account
|
item.expense_account = self.difference_account
|
||||||
|
|
||||||
if not item.transfer_qty:
|
if not item.transfer_qty:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user