How to add new option in select field of job applicant status field using custom new app

I have created custom app called custom_app on top of frappe and erpnext. now i want to add new two status Technical and HR in job applicant status field

so old status

Open
Replied
Rejected
Hold
Accepted

New status would be

Open
Replied
Technical
HR
Rejected
Hold
Accepted

How can i achieve this using custom app?

Please do provide reliable technical solution if you have?

1 Like

Hi @Tapan_Bavaliya,

I think, add a custom status for the use property setter.

Please check it.

Then after exporting the property setter in the custom app.

Example:

Added in custom app hook.py

fixtures = [{"doctype": "Property Setter"}]

Then apply command like:

bench --site your-sitename.com export-fixtures

It will come in the fixtures folder in the custom app.

I hope this helps.
Thank You!

2 Likes

Hi @NCP ,

This will set only those options which are provided in ‘set value’ field. Is there any solution to append the options to original options using custom app.

It will become issue when someone migrate from one version of ERPNext to another. It will overwrite the existing options.