diff --git a/erpnext/regional/india/utils.py b/erpnext/regional/india/utils.py index 58df053ec4..631fc2508d 100644 --- a/erpnext/regional/india/utils.py +++ b/erpnext/regional/india/utils.py @@ -62,6 +62,8 @@ def get_itemised_tax_breakup_data(doc): return hsn_tax, hsn_taxable_amount def set_place_of_supply(doc, method): + if not frappe.get_meta('Address').has_field('gst_state'): return + address_name = doc.shipping_address_name or doc.customer_address if address_name: address = frappe.db.get_value("Address", address_name, ["gst_state", "gst_state_number"], as_dict=1)