mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Merge pull request #30525 from frappe/mergify/bp/version-13-hotfix/pr-30500
fix(India): Tax fetching based on tax category (backport #30500)
This commit is contained in:
@@ -269,6 +269,7 @@ def get_regional_address_details(party_details, doctype, company):
|
|||||||
|
|
||||||
if tax_template_by_category:
|
if tax_template_by_category:
|
||||||
party_details["taxes_and_charges"] = tax_template_by_category
|
party_details["taxes_and_charges"] = tax_template_by_category
|
||||||
|
party_details["taxes"] = get_taxes_and_charges(master_doctype, tax_template_by_category)
|
||||||
return party_details
|
return party_details
|
||||||
|
|
||||||
if not party_details.place_of_supply:
|
if not party_details.place_of_supply:
|
||||||
@@ -293,7 +294,7 @@ def get_regional_address_details(party_details, doctype, company):
|
|||||||
return party_details
|
return party_details
|
||||||
|
|
||||||
party_details["taxes_and_charges"] = default_tax
|
party_details["taxes_and_charges"] = default_tax
|
||||||
party_details.taxes = get_taxes_and_charges(master_doctype, default_tax)
|
party_details["taxes"] = get_taxes_and_charges(master_doctype, default_tax)
|
||||||
|
|
||||||
return party_details
|
return party_details
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user