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
in hooks.py

1 Like

@Mindermann solution here