Migrate your database with the bench migrate
command, and then try
If standard doctype and when you add the custom option then facing this type of issue. and it’s maybe linked with any method or something.
First remove the option, that you added and then create a new doctype.
Because this happens only when the status is updated somewhere in the method at the time of saving. So you have to find status-related code bcoz somewhere there will be validation but we don’t suggest to add option in status.
1 Like