Field "Is Your Company Address"


I have a two self hosted sites running on same bench, one site has Select Field “Is Your Company Address” in Doctype “Address” while other site don’t have that select field in doctype address.

and that’s why I am getting below error while adding address.

AttributeError: ‘ERPNextAddress’ object has no attribute ‘is_your_company_address’

Please suggest what can I do to update this.

It’s resolved now.

  1. Enable developer mode.
  2. Edit Doctype “Address”
  3. Add a field name Is Your Company Address, Type Check, Name is_your_company_address Deafult 0, Perm Level 0
  4. Disable developer mode

I don’t know if it is best practice or not, but as of now it’s solved.