fix(India): Tax and Charges template not getting fetched based on tax category assigned

This commit is contained in:
Deepesh Garg
2022-01-02 17:53:15 +05:30
parent 2602fc633b
commit 7a5937a98c

View File

@@ -217,7 +217,7 @@ def get_regional_address_details(party_details, doctype, company):
if tax_template_by_category:
party_details['taxes_and_charges'] = tax_template_by_category
return
return party_details
if not party_details.place_of_supply: return party_details
if not party_details.company_gstin: return party_details