mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 15:27:12 +00:00
Merge pull request #16790 from crossxcell99/master
fix: call base class onload method
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user