fix(India): Sales taxes and charges template fetching in quotation
This commit is contained in:
parent
2fc04f661a
commit
243625898e
@ -211,7 +211,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)
|
||||
|
@ -287,7 +287,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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user