[auto inventory accounting] [general ledger entry] calculate valuation amount without rounding

This commit is contained in:
Anand Doshi 2013-06-11 12:40:46 +05:30
parent 89e2ac4f47
commit 49af8754d5

View File

@ -466,9 +466,8 @@ class DocType(BuyingController):
# expense will be booked in sales invoice
stock_item_and_auto_inventory_accounting = True
valuation_amt = (flt(item.amount, self.precision.item.amount) +
flt(item.item_tax_amount, self.precision.item.item_tax_amount) +
flt(item.rm_supp_cost, self.precision.item.rm_supp_cost))
valuation_amt = (flt(item.amount) + flt(item.item_tax_amount) +
flt(item.rm_supp_cost))
gl_entries.append(
self.get_gl_dict({