fix(India): Sales taxes and charges template fetching in quotation

(cherry picked from commit 243625898e)
This commit is contained in:
Deepesh Garg
2022-06-10 22:05:58 +05:30
committed by Mergify
parent d375939475
commit a1ba8475d0
2 changed files with 2 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ def set_address_details(
else:
party_details.update(get_company_address(company))
if doctype and doctype in ["Delivery Note", "Sales Invoice", "Sales Order"]:
if doctype and doctype in ["Delivery Note", "Sales Invoice", "Sales Order", "Quotation"]:
if party_details.company_address:
party_details.update(
get_fetch_values(doctype, "company_address", party_details.company_address)

View File

@@ -288,7 +288,7 @@ def get_regional_address_details(party_details, doctype, company):
return party_details
if (
doctype in ("Sales Invoice", "Delivery Note", "Sales Order")
doctype in ("Sales Invoice", "Delivery Note", "Sales Order", "Quotation")
and party_details.company_gstin
and party_details.company_gstin[:2] != party_details.place_of_supply[:2]
) or (