Hello Frappe community,
I recently got this message in the console after trying to export-fixtures.
UnboundLocalError: local variable ‘prefix’ referenced before assignment
Do you know, what the problem might be?
Thank you
Hello Frappe community,
I recently got this message in the console after trying to export-fixtures.
UnboundLocalError: local variable ‘prefix’ referenced before assignment
Do you know, what the problem might be?
Thank you
Probably related to fixtures format in hooks.py …
Try this way:
fixtures = [
{"dt": "Property Setter", "filters": [["module", "=", "your_module"]]},
]
Hope this helps.
Hey AVC.
Thank you so much for your help, i ´ll try it right away.
Cheers mate