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!
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"]
]
}
}
]
@JoEz have you solved the issue ?