when i tried to select the country from list for the local holidays, oman is not showing in the list, how to add country in the list. please guide.
- Goto the Country list(type it in awesome bar).
- Add new country.
- Come to holiday list and Refresh the page.
Problem is field type is autocomplete, which is not able to change.
In fact I added full name Sultanate of Oman which is saved but still not coming local holiday country list
- Goto Customize form.
- Add your doctype.
- Change field type.
- Click on Update button.
- Export changes to your custom app.
@Aamir_Durrani I checked the issue from software and I found the same issue when type Oman. It’s only show Romania. And this field is not a linked field with “Country” doctype, It’s auto complete field.
So my two propose solution is as below,
- Hide this existing country field and add custom country field.
- Use “Property Setter” to update exist field type “AutoComplete” to “Link”.
Frappe HR uses an external package Holidays to get predictable holiday dates for countries. These are the list of countries supported:
https://holidays.readthedocs.io/en/latest/#available-countries
If your country is not listed here, you will have to manually add local holidays. If you are a developer, you can also consider contributing your country’s holidays to the original repository