In custom app not able create fixtures folder after running fixtures command

Hello all,

We have created a custom app.

When I run bench --site site1 export-fixtures command it is not creating fixtures folder in my custom app.

Trying to figure out from last few hours.But no luck!

you should add fixtures in custom app hooks.py, i.e.:

fixtures = [
    "Property Setter",
    "Translation",
    {
        "doctype": "Custom Field",
        "filters": {
            "dt": [
                "in", ["Sales Order", "Sales Order Item", "Item", "Quotation", "Quotation Item"]
            ]
        }

    }
]
1 Like

@JoEz have you solved the issue ?

Refer this: How to Export Custom created solution to import on another system