mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
Merge pull request #31728 from frappe/mergify/bp/version-13-hotfix/pr-31676
fix: enable tax withholding checkbox in PI with supplier_tds (backport #31676)
This commit is contained in:
@@ -158,6 +158,7 @@ class PurchaseInvoice(BuyingController):
|
|||||||
if tds_category and not for_validate:
|
if tds_category and not for_validate:
|
||||||
self.apply_tds = 1
|
self.apply_tds = 1
|
||||||
self.tax_withholding_category = tds_category
|
self.tax_withholding_category = tds_category
|
||||||
|
self.set_onload("supplier_tds", tds_category)
|
||||||
|
|
||||||
super(PurchaseInvoice, self).set_missing_values(for_validate)
|
super(PurchaseInvoice, self).set_missing_values(for_validate)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user