Book expense included in valuation only if perpetual inventory enabled (#10271)

This commit is contained in:
Nabin Hait 2017-08-03 17:37:23 +05:30 committed by Makarand Bauskar
parent af01f5154b
commit ee5ff805e9

View File

@ -510,7 +510,7 @@ class PurchaseInvoice(BuyingController):
i += 1
if self.update_stock and valuation_tax:
if self.auto_accounting_for_stock and self.update_stock and valuation_tax:
for cost_center, amount in valuation_tax.items():
gl_entries.append(
self.get_gl_dict({