[fix] [minor] Purchase Invoice - Amount for Stock received but not billed
This commit is contained in:
parent
b6f37b8195
commit
fc75d96abd
@ -367,9 +367,8 @@ class DocType(BuyingController):
|
|||||||
# expense will be booked in sales invoice
|
# expense will be booked in sales invoice
|
||||||
stock_item_and_auto_accounting_for_stock = True
|
stock_item_and_auto_accounting_for_stock = True
|
||||||
|
|
||||||
valuation_amt = (flt(item.amount, self.precision("amount", item)) +
|
valuation_amt = flt(item.valuation_rate) * flt(item.qty) * \
|
||||||
flt(item.item_tax_amount, self.precision("item_tax_amount", item)) +
|
flt(item.conversion_factor)
|
||||||
flt(item.rm_supp_cost, self.precision("rm_supp_cost", item)))
|
|
||||||
|
|
||||||
gl_entries.append(
|
gl_entries.append(
|
||||||
self.get_gl_dict({
|
self.get_gl_dict({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user