fix: enable tax withholding checkbox in PI with supplier_tds

This commit is contained in:
ruthra kumar 2022-07-22 14:32:14 +05:30
parent 6883fc95ae
commit b461724416

View File

@ -162,6 +162,7 @@ class PurchaseInvoice(BuyingController):
if tds_category and not for_validate:
self.apply_tds = 1
self.tax_withholding_category = tds_category
self.set_onload("supplier_tds", tds_category)
super(PurchaseInvoice, self).set_missing_values(for_validate)