Can't disable Custom doctype

in V16 production mode i have a app, but show enable Custom and cna’t conect with my github automaticaly, i try with developer mode 0 and 1 but no change, restart services and migrate no help. En v15 no problem to disable this option (is custom app separate code).

Any suggestions?

Hi @aei-gt

Are you logged with “Administrator” user? Will not work with other than this.

Hope this helps.

1 Like

For enabling that two primary requirement is

Site developer mode should be on

And user should be administrator

1 Like

review again all but not working, one step more i create a full new app in v16 to verify but not work again. No option to disable “custom”.

Solution (not the easy way): Create from console the doctype and force to = 0 the custon field.

doc = frappe.get_doc({ “doctype”: “DocType”, “name”: doctype, “module”: module, “custom”: 0, “autoname”: “hash”, “fields”: [ {“fieldname”: “title”, “label”: “Title”, “fieldtype”: “Data”} ], “permissions”: [ {“role”: “System Manager”, “read”: 1, “write”: 1, “create”: 1, “delete”: 1} ] }).insert(ignore_permissions=True)

but of course is not a easy way because need create by code every doctype. I think is a limitation/feature/bug in V16. In v15 no problem.

Do you have a warning at the top (normally in yellow) - site is in developer mode?