[auto inventory accounting] [general ledger entry] calculate valuation amount without rounding
This commit is contained in:
parent
89e2ac4f47
commit
49af8754d5
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user