mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-05 19:42:45 +00:00
Update sales_invoice.py
This commit is contained in:
@@ -344,8 +344,8 @@ class SalesInvoice(SellingController):
|
||||
self.terms = frappe.db.get_value("Terms and Conditions", self.tc_name, "terms")
|
||||
|
||||
# fetch charges
|
||||
if self.taxes_and_charges:
|
||||
self.set_other_charges()
|
||||
if self.taxes_and_charges and not len(self.get("taxes")):
|
||||
self.set_taxes()
|
||||
|
||||
return pos
|
||||
|
||||
|
||||
Reference in New Issue
Block a user