commit | 76f36f68d3fade304d2a7c047dbab57eb464415f | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Wed Feb 27 08:31:14 2019 +0530 |
committer | GitHub <noreply@github.com> | Wed Feb 27 08:31:14 2019 +0530 |
tree | 3748ae0ec26fc2a7883ce7d9ef495a7c606186ea | |
parent | 2ca1f135ef20d8459212fd22b70f552c6dbdc224 [diff] | |
parent | f95171e8088d47acdcaa596a928f616cf6de2b5b [diff] |
Merge pull request #16790 from crossxcell99/master fix: call base class 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)