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

(cherry picked from commit 7a5937a98c3d74bdb1da79c3d5a8f49ef76ded2d)
This commit is contained in:
Deepesh Garg 2022-01-02 17:53:15 +05:30 committed by mergify-bot
parent db829a0610
commit 466e549842

View File

@ -215,7 +215,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