How migrate changes to erpNext doctype

If you have custom app checkout fixtures. Any Doctype can be exported as a fixture.
Useful for Custom Field, Property Setter, Print Format DocTypes

https://frappe.github.io/frappe/user/en/guides/app-development/how-to-create-custom-fields-during-app-installation

using filters for fixtures in hooks.py

It is easier to import Custom Script into fixtures by adding them to custom_scripts folder. Name the files as per the doctypes on which custom script is to be imported. Also remove Custom Script from fixtures in hooks.py or it will try to import Custom Script twice, once from custom_script.json and once from custom_scripts directory

e.g.

2 Likes