fix(India): Sales taxes and charges template fetching in quotation
This commit is contained in:
@@ -211,7 +211,7 @@ def set_address_details(
|
|||||||
else:
|
else:
|
||||||
party_details.update(get_company_address(company))
|
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:
|
if party_details.company_address:
|
||||||
party_details.update(
|
party_details.update(
|
||||||
get_fetch_values(doctype, "company_address", party_details.company_address)
|
get_fetch_values(doctype, "company_address", party_details.company_address)
|
||||||
|
|||||||
@@ -287,7 +287,7 @@ def get_regional_address_details(party_details, doctype, company):
|
|||||||
return party_details
|
return party_details
|
||||||
|
|
||||||
if (
|
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
|
||||||
and party_details.company_gstin[:2] != party_details.place_of_supply[:2]
|
and party_details.company_gstin[:2] != party_details.place_of_supply[:2]
|
||||||
) or (
|
) or (
|
||||||
|
|||||||
Reference in New Issue
Block a user