mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 12:25:09 +00:00
fix: Tax Category not able to set hence it calculating zero tax for item whoes tax template set (#34525)
fix: Tax Category not able to set hence it calculating zero tax for item 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
(cherry picked from commit 7aafc90d58)
Co-authored-by: Vishal Dhayagude <vishdha@users.noreply.github.com>
This commit is contained in:
@@ -174,6 +174,9 @@ def _get_party_details(
|
|||||||
party_type, party.name, "tax_withholding_category"
|
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
|
return party_details
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user