I have created 2 sites: dev.local and test.local. In dev.local, I have made a new App which contains a new DocType named “HR Accident”. ERPNext is also installed in dev.local. Still in dev.local, I have customized the standard DocType “Employee” from ERPNext to add a new Table section linked to the DocType “HR Accident” from my new app. I have added both modified DocType, “HR Accident” and “Employee” to hooks.py and I ran the command “bench frappe --export_fixtures”, which was successfull. I changed the default site to test.local, on which my new App is also installed, and I ran the command “bench frappe --latest”, which was also successfull: both DocType showed as imported. My new DocType from my new App gets updated, but not the “Employee” DocType, from which my new section is missing. What steps am I doing wrong?
Also, the scenario described above works fine if both production and development sites reside on the same server, but what if I want or need to keep my development server separated from the production server, I guess I then need to use a GitHub account, is that correct?
Thank you very much for your help!
Update: I found out by looking at Luis Fernandes’ App that I needed to add “Custom Field” and “Property Setter” in the Fixtures…