fix: call base clase onload method

This commit is contained in:
crossxcell99 2019-02-26 18:01:37 +01:00
parent 539c77c591
commit f95171e808

View File

@ -46,6 +46,7 @@ class PurchaseInvoice(BuyingController):
}]
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)