Getting error no attribute 'is_your_company_address' in freshly setup ERPNext instance

I have setup a fresh instance of Frappe and installed ERPNext, Payments and India compliance in it.

When I am trying to add Address to Company I am getting following error:

App Versions

	"erpnext": "14.28.1",
	"frappe": "14.40.1",
	"india_compliance": "14.10.3",
	"payments": "0.0.1"




Traceback (most recent call last):
  File "apps/frappe/frappe/", line 66, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/", line 54, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/", line 47, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/", line 85, in execute_cmd
    return, **frappe.form_dict)
  File "apps/frappe/frappe/", line 1608, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/desk/form/", line 28, in savedocs
  File "apps/frappe/frappe/model/", line 305, in save
    return self._save(*args, **kwargs)
  File "apps/frappe/frappe/model/", line 327, in _save
    return self.insert()
  File "apps/frappe/frappe/model/", line 259, in insert
  File "apps/frappe/frappe/model/", line 1045, in run_before_save_methods
  File "apps/frappe/frappe/model/", line 914, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
  File "apps/frappe/frappe/model/", line 1264, in composer
    return composed(self, method, *args, **kwargs)
  File "apps/frappe/frappe/model/", line 1246, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "apps/frappe/frappe/model/", line 911, in fn
    return method_object(*args, **kwargs)
  File "apps/erpnext/erpnext/accounts/custom/", line 12, in validate
  File "apps/erpnext/erpnext/accounts/custom/", line 29, in validate_reference
    if self.is_your_company_address and not [
AttributeError: 'ERPNextAddress' object has no attribute 'is_your_company_address'

I don’t know what to make of this and how to solve it.


1 Like

I have the same issue. Will post a solution if I find one.

Updating ERPnext worked for me.

I followed steps as described in the following threads: