Hi everybody. I just create a new app, a new site, added the app to the site and set developer_mode to 1 and not able to uncheck the “Custom?” option to save DocType to the created app. It happened with my actual site and app, but I just recreate the case from the scratch, with a new site and app, and still not working.
It seems to be a JS issue, because if I inspect the html checkbox to remove the hidden and disabled, I check, save and the backend does not complain and it works perfect. But I need to do that hack to have it working. Could be a bug?
When I create the DocType the “Custom?” is disabled as expected, but not able to uncheck it (documentation says “Custom?: This field will be checked by default when adding Custom Doctype.”) but when I edit the DocType is still disabled:
How did you enable the checkbox for the “Custom” field. I created an app as well and some doctypes but I can’t create a doctype that does not have the “Custom” checkbox checked and so the .py etc files are not created. I want to uncheck the checkbox but I can’t and when I try creating a doctype I can’t uncheck it.
Hi Draedon, first of all you need having permissions to manage the custom field, but if yet not disabled like in my case, just open your browser developer options, then inspect that element, you will find two fields, one visible (the one disabled) and together, one hidden (hidden class if I do not remember bad), just remove the hidden class it will become visible, then uncheck normally, and save
Hope this helps, if not I will try to do more detailed instructions later today or tomorrow.