mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
Merge pull request #14368 from shreyashah115/fix-trav
Some more travis fixes
This commit is contained in:
@@ -89,11 +89,11 @@ def get_regional_address_details(out, doctype, company):
|
||||
|
||||
if doctype in ("Sales Invoice", "Delivery Note"):
|
||||
master_doctype = "Sales Taxes and Charges Template"
|
||||
if not (out.company_gstin or out.place_of_supply):
|
||||
if not out.company_gstin:
|
||||
return
|
||||
else:
|
||||
elif doctype == "Purchase Invoice":
|
||||
master_doctype = "Purchase Taxes and Charges Template"
|
||||
if not (out.supplier_gstin or out.place_of_supply):
|
||||
if not out.supplier_gstin:
|
||||
return
|
||||
|
||||
if ((doctype in ("Sales Invoice", "Delivery Note") and out.company_gstin
|
||||
|
||||
Reference in New Issue
Block a user