I want Employee Number to be used to create Employee records.
I’ve created a custom field called PF No which would contain the unique employee ID and make it mandatory.
I hide the series field and update the changes. There is a confirmation that the update was successful. When I try to create a new employee,
- the Series field is still visible.
- the PF field does not appear to be mandatory.
I have through this page several times.
I am logged in as the Administrator.
yes then I assume not a permission issue
Ideally an expert will respond with the expected behaviour?
You can search the forum, review docs, check for issues, browse the code…
Issues · frappe/erpnext · GitHub
GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
frappe@erpnext:~/frappe-bench$ find . -name '*employee*'.py | xargs grep 'naming'
Whatever works for you!
You can’t hide the naming series box at document create. It will disappear after creation. Why don’t you just change the naming series to work like you want employees to be “numbered”? I did this on my instance as all my employees are E###### (e.g. E014907) to match how they logon with our LDAP system.
That’s a great idea. I tried this and it is working fine. I was only worried about the visibility of the naming series box.