fix: Error on creating invoice
(cherry picked from commit e11515a3561eac6d33d21190cac2db112ae301fb)
This commit is contained in:
parent
6efbbb1058
commit
cb21dff882
@ -217,6 +217,7 @@ def get_regional_address_details(party_details, doctype, company):
|
||||
return
|
||||
|
||||
if not party_details.place_of_supply: return party_details
|
||||
if not party_details.company_gstin: return party_details
|
||||
|
||||
if ((doctype in ("Sales Invoice", "Delivery Note", "Sales Order") and party_details.company_gstin
|
||||
and party_details.company_gstin[:2] != party_details.place_of_supply[:2]) or (doctype in ("Purchase Invoice",
|
||||
|
Loading…
Reference in New Issue
Block a user