commit | f95171e8088d47acdcaa596a928f616cf6de2b5b | [log] [tgz] |
---|---|---|
author | crossxcell99 <crossxcell99@gmail.com> | Tue Feb 26 18:01:37 2019 +0100 |
committer | crossxcell99 <crossxcell99@gmail.com> | Tue Feb 26 18:01:37 2019 +0100 |
tree | 872a3b9a472c7881bfe559bb8c7ecbc63a13dc70 | |
parent | 539c77c5910609735815021b40ea47e1e7184186 [diff] |
fix: call base clase onload method
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py index 0dd716d..a9e8fbc 100644 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
@@ -46,6 +46,7 @@ }] def onload(self): + super(PurchaseInvoice, self).onload() supplier_tds = frappe.db.get_value("Supplier", self.supplier, "tax_withholding_category") self.set_onload("supplier_tds", supplier_tds)