Issue with Address Tab Displaying "{{city}}" Instead of "mandal" Value in Patient Doctype

We have encountered a problem while renaming fields in the Address doctype. Specifically, we changed the field name from “city” to “mandal” in both the Python server file and the database column. However, despite completing these changes successfully, when we view the Address tab in the Patient doctype, it continues to display “{{city}}” instead of showing the “mandal” value, which is now stored in the address doctype.

It is not recommended to change the fieldname of standard fields since it may affect the behaviour of the system.

Instead I recommend you to add “mandal” as a new field and hide the “city” field in the customize form.
Or you can change the label name using customize form or just use the translation doctype

1 Like