I have created a custom app and in hooks.py i used fixtures = [‘Custom Field’,‘Sales Invoice’] , where Sales Invoice is a DocType .
In fixtures folder 2 files are generated namely custom_field.json and sales_invoice.json.
custom_field.json is having json data but sales_invoice.json is empty. why ?
I am unable to generate json data for Sales Invoice Doctype in Fixtures folder.
I have to export 4-5 doctypes , in these 4-5 doctypes there will multiple custom fields , so is it required to specify all custom_fields name using filters like
]
]
]} //I have tried this and all multiple custom fields are generated in json file and i got all custom fields 1,2,3
Is there is any optimization instead of adding all multiple custom_fields names in filters (in some scenario if 100 custom fields are there then i have to add those 100 fields one by one )