Skip to content

Commit

Permalink
fix: Tax Category not able to set hence it calculating zero tax for i…
Browse files Browse the repository at this point in the history
…tem whoes tax template set (#34525)

* fix: Tax Category not able to set hence it calculating zero tax for item whoes tax template set

* fix: minor change added
  • Loading branch information
vishdha authored Mar 28, 2023
1 parent 393bc25 commit 7aafc90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions erpnext/accounts/party.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ def _get_party_details(
party_type, party.name, "tax_withholding_category"
)

if not party_details.get("tax_category") and pos_profile:
party_details["tax_category"] = frappe.get_value("POS Profile", pos_profile, "tax_category")

return party_details


Expand Down

0 comments on commit 7aafc90

Please sign in to comment.