Even after update in options of select filed, i get error of not inclusion in the select field

Migrate your database with the bench migrate command, and then try

I tried not working in my local @gopikrishnan

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.

@NCP even when i try to create new doc, the error persist

First remove the option, that you added and then create a new doctype.

@NCP it works as it has prior options but on adding new , it gives error

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