How to Export Custom created solution to import on another system

Hi @Gaurav1,

I think, you should create a custom app and add a hook.py

fixtures = [{
        "doctype": "Custom Field",
    },
    {
        "doctype": "Property Setter",
    },
    {
        "doctype": "Server Script",
    },
    {
        "doctype": "Client Script",
    },
    {
        "doctype": "Workflow Action Master",
    },
    {
        "doctype": "Workflow State",
    },
    {
        "doctype": "Workflow",
    },
    {
        "doctype": "Assignment Rule",
    },
    
]

Then apply the command:
Then all customization is exported in the custom app which you added in fixtures.

bench --site [sitename] export-fixtures

Reference: FIXTURES AND CUSTOM FIELDS IN FRAPPE AND ERPNEXT

Reference: CREATING A CUSTOM APP IN FRAPPE/ERPNEXT AND INSTALLING IT ON YOUR INSTANCE

Thank You!

4 Likes