You need to add the fixtures = {“Custom Field”} line to your hooks.py file, then you just use the bench export-fixtures command with your app loaded. It will create a Fixtures folder in your app with a json file containing all the custom fields.
There are quite a few topics in the forum discussing this.
@Ben_Cornwell_Mott Thanks for your reply but I dont get details steps of doing that?
let’s assume I have “ERPNext” APP and want to add custom fields and custom script and filters and I want to hold these changes to App called “Custom” .
where should I make the changes? in “ERPNext” app or “Custom” app?
where I should put fixtures = ["Custom Field"]? which hooks.py APP? in “ERPNext” app or “Custom” app?
@adityaduggal I make search but the thread was closed and I want more details steps of doing that
Then create a folder fixtures in your app with a file as custom_field.csv with all the details of your CSV.
If you have a doubt as to where the folder should be just have a look at my custom app and try to analyse that