A doubt about the design of Doctypes

This JSON file is an exported format of the Database table that corresponds to your Doctype.

You don’t have to manually create any JSON files. System will create them.

If your doctype has Is Custom checked on creation then no JSON file will be made. It will stay just in the Database.

Now the important things:

  • If you want to change something (add/rearrange/change property of field) in a default ERPNext doctype, ALWAYS use only Customize Form or the Customize Option.
  • If you wish to create a new document, create it with Edit Doctype but keep those changes in a seperate app.

Also if you do changes via Customize Form and don’t wish to lose them: then follow advice as mentioned here:

2 Likes