Merge pull request #16790 from crossxcell99/master

fix: call base class onload method
This commit is contained in:
Rushabh Mehta
2019-02-27 08:31:14 +05:30
committed by GitHub

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)