fix: Error on Invoice generation

(cherry picked from commit 82255293c4eb8a9f586db083d19d63c1ea435fb9)
This commit is contained in:
Deepesh Garg 2021-12-08 14:06:34 +05:30 committed by mergify-bot
parent 9a644f645c
commit d5380dd716

View File

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