Skip to content

Commit

Permalink
fix: do not auto apply tds in purchase order
Browse files Browse the repository at this point in the history
(cherry picked from commit 0b942a0)
  • Loading branch information
ljain112 authored and mergify[bot] committed Sep 16, 2024
1 parent 7027be8 commit 741c18b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions erpnext/buying/doctype/purchase_order/purchase_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,6 @@ def update_subcontracting_order_status(self):
def set_missing_values(self, for_validate=False):
tds_category = frappe.db.get_value("Supplier", self.supplier, "tax_withholding_category")
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().set_missing_values(for_validate)
Expand Down

0 comments on commit 741c18b

Please sign in to comment.