mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
[auto inventory accounting] [general ledger entry] calculate valuation amount without rounding
This commit is contained in:
@@ -466,9 +466,8 @@ class DocType(BuyingController):
|
|||||||
# expense will be booked in sales invoice
|
# expense will be booked in sales invoice
|
||||||
stock_item_and_auto_inventory_accounting = True
|
stock_item_and_auto_inventory_accounting = True
|
||||||
|
|
||||||
valuation_amt = (flt(item.amount, self.precision.item.amount) +
|
valuation_amt = (flt(item.amount) + flt(item.item_tax_amount) +
|
||||||
flt(item.item_tax_amount, self.precision.item.item_tax_amount) +
|
flt(item.rm_supp_cost))
|
||||||
flt(item.rm_supp_cost, self.precision.item.rm_supp_cost))
|
|
||||||
|
|
||||||
gl_entries.append(
|
gl_entries.append(
|
||||||
self.get_gl_dict({
|
self.get_gl_dict({
|
||||||
|
|||||||
Reference in New Issue
Block a user