How to add new Category type to list of event (under selling > Customer)
go to Doctype list (input Doctype list in search bar at the top right), and search the Event doctype.
Go to the Options box on the Event Category fields, and add your custom event at the textbox. Don’t forget that each category divided by newline.
This method will potentially break frappe, just go with customize form method suggested by @khushal_t below
Please don’t change in doc-type directly itself if that doc-type is not custom(custom means - apart from erp and frappe and the one you have created)
- Go to particular form go there select customise option
- Go to select field add whatever option you want to edit
- Update the form
2 Points need to remember
- If you are doing this on your local development environment, you will have to carry fixtures using bench-export-fixtures
- You will have to sync your schema changes using bench-migrate
Whoops!, yeah my bad… to caught up in editing my custom doctype, Forgot that
Event belong in Desk module!
if it solved your problem go like it and make it as solution so if any one comes he can get solution easily
Thank for your solution its work for me and now i have choose it as solution for the problem
Many thanks for your advice