mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
fix(India): Tax fetching based on tax category
(cherry picked from commit 532961fad2)
This commit is contained in:
committed by
mergify-bot
parent
70485a6afc
commit
f213dc9999
@@ -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