i test today to add new employee the naming does not work like before
as you see before today the naming was by employee number but now was by naming series?
how could i solve this ?
and how could i avoid it in future?
You will have to export your customizations through the “Customize” option in your custom app, and while exporting, check the “Sync on Migrate” checkbox.
I suggested you export your customization because you said it was working before, then stopped working. You changed the naming series, and it started working as expected. That’s why I suggested you export your naming series and other customization through the customize form, or you can directly export the property setter if you want to export it using the bench export-fixtures command.
If you change the naming series via the Customize Form, it will create a property setter. Export that property setter in your custom app and ensure your app migrates last, after all the Frappe apps. Only then will it apply the customizations; otherwise, there is a chance that Frappe apps will override them.
By “Frappe app,” I mean all Frappe applications, such as ERPNext and HRMS.
i create new site
then install frappe apps
all things worked well
then when i install my custom app the issue appear i try to know the matter from where came?
I removed the property setter JSON file from my app, and then I checked I had just 16 records in the property setter inside the system I did export fixtures that had the property setter, and then when I migrated they were up to 20 the 4 errors from where they came?
there naming does not work as i want becuase this override i just add some new statuses just
when i commet this code its worked well and when i reorder the installed app it also worked well ?! @ejaaz