I added fixtures = ["Custom Script"] in hooks.py file for all my custom apps and ran bench export-fixtures , everything was fine . Now I do have custom script for erpnext standard apps so I added fixtures = ["Custom Script"] to hooks.py file located in /home/erp/frappe-bench/apps/erpnext/erpnext . I got a web form instead of custom script in fixtures folder inside erpnext app . Could anyone guide me ? I do have custom script to all standard modules of erpnext .
Hi not really sure if you can do that in ERPNext app. I believe you can have custom script for erpnext standard apps in your custom app. What are you trying to customize by the way?
Thanks for the reply @johnskywalker . How to do this ? [quote=âjohnskywalker, post:2, topic:17823â]
I believe you can have custom script for erpnext standard apps in your custom app
[/quote]
I have few custom fields in the erpnext standard apps , for which I have scripts .
you have to make your own app first bench new-app {app_name}
after that, you will install it and edit itâs hooks.py fixtures = [âCustom Scriptâ]
and make sure you always do bench --site {site_name} export-fixtures
Thanks for reply @johnskywalker , this is what I have done to my custom apps , I am asking how to export fixtures for erpnext standard apps . Any help could be a life saver