ERPNext New version issue ERPNext: v13.22.1 (version-13)

ERPNext: v13.22.1 (version-13)
:red_circle: Issue:

You can’t set ‘Options’ for field Status

Rename Select, the word is not to be use.

We have one more way

We have customize Form Doctype in this doctype you can override a method the name was
def allow_property_change(self, prop, meta_df, df):
indent preformatted text by 4 spaces

class CustomCustomizeForm(CustomizeForm):

def allow_property_change(self, prop, meta_df, df):
    ALLOWED_OPTIONS_CHANGE = ('Read Only', 'HTML', 'Select','Data')

Add ALLOWED_OPTIONS_CHANGE = (‘Read Only’, ‘HTML’, ‘Select’,‘Data’)
on the top of the function your override

I hope you know how to override doctype_events using override_doctype_class


@Mindermann solution here

Any plans on adding this into the core frappe codebase. I would think being able to update the options of a select is reasonable.

1 Like

Adding Extra options and futures is fine but removing the options is not recommendable

Hi Anthony,

I got the same error. I applied your solution but still not working. I got the page error when I added it on

How to do it correctly?

Please share the and overrided file screenshot or code. please share what error your getting also.