fixes for gl entries in purchase invoice
This commit is contained in:
parent
982a0a0e0a
commit
41434f1eb4
@ -434,7 +434,7 @@ class DocType(BuyingController):
|
||||
)
|
||||
|
||||
# tax table gl entries
|
||||
for tax in getlist(self.doclist, "other_charges"):
|
||||
for tax in getlist(self.doclist, "purchase_tax_details"):
|
||||
if tax.category in ("Total", "Valuation and Total") and flt(tax.tax_amount):
|
||||
valuation_tax += flt(tax.tax_amount)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user