Merge pull request #16790 from crossxcell99/master
fix: call base class onload method
This commit is contained in:
commit
76f36f68d3
@ -46,6 +46,7 @@ class PurchaseInvoice(BuyingController):
|
|||||||
}]
|
}]
|
||||||
|
|
||||||
def onload(self):
|
def onload(self):
|
||||||
|
super(PurchaseInvoice, self).onload()
|
||||||
supplier_tds = frappe.db.get_value("Supplier", self.supplier, "tax_withholding_category")
|
supplier_tds = frappe.db.get_value("Supplier", self.supplier, "tax_withholding_category")
|
||||||
self.set_onload("supplier_tds", supplier_tds)
|
self.set_onload("supplier_tds", supplier_tds)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user