mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-24 17:18:30 +00:00
fixes for gl entries in purchase invoice
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user