DocType Changes Not Reflected in Code

Changes to a DocType are not being reflected in the source code of the custom app

Steps to reproduce

bench new-app custom_app
bench install-app --site test.localhost custom_app
bench set-config developer_mode 1
bench clear-cache
bench start
  1. Create new DocType. Set Module to the module created via new-app
    • Of note, the Custom checkbox is checked and disabled
  2. Add a DocField, Save.
    • Of note, the Custom checkbox is checked and disabled on the settings of the doctype

Expected Result

Changes in custom_app/custom_app

Actual Result

No changes

Version Info

frappe 15.69.1 version-15
erpnext 15.62.0 version-15
custom_app 0.0.1 develop
bench 5.21.1

Deployment details

via frappe_docker repo, using the development folder and docker

First on developer mode and then make doctype and also custom checkbox should be unchecked
Command to On developer mode:
bench --site {your-site-name} set-config developer_mode 1

Hi @robertdown

Please, log as “Administrator” user. It won’t works with any other user (even with System Manager role)

Hope this helps.

1 Like

Thanks @avc. Logging in as Administrator allowed me to uncheck the Custom box which resolved the issue.