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"
}
Route
Form/Address/new-address-1
Traceback
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 66, in application
response = frappe.api.handle()
File "apps/frappe/frappe/api.py", line 54, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 47, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1608, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/desk/form/save.py", line 28, in savedocs
doc.save()
File "apps/frappe/frappe/model/document.py", line 305, in save
return self._save(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 327, in _save
return self.insert()
File "apps/frappe/frappe/model/document.py", line 259, in insert
self.run_before_save_methods()
File "apps/frappe/frappe/model/document.py", line 1045, in run_before_save_methods
self.run_method("validate")
File "apps/frappe/frappe/model/document.py", line 914, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1264, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1246, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 911, in fn
return method_object(*args, **kwargs)
File "apps/erpnext/erpnext/accounts/custom/address.py", line 12, in validate
self.validate_reference()
File "apps/erpnext/erpnext/accounts/custom/address.py", 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.
Regards,