Custom Script Doesn't Change when Bench export-fixtures

I have created Script A at Sales Invoice custom script.
First time export fixtures and migrate to another instance, it works perfectly.

I’ve updated again at development server for Sales Invoice Custom Script again.
Second time export fixtures, found out it doesn’t update at the json file under fixtures.

Any comment ?

While exporting fixtures does system thrown any error?

Can you share screenshot of hooks.py

Hi, following is the modification I made to hooks.py

fixtures = [“Custom Script”]
fixtures = [“Custom Field”]

The first time I created the custom script and do export fixtures, the custom script was created.

But when I alter something again inside the script, it no longer update the info inside the custom fixtures. Did I miss out anything ?

Just make fixtures = [“Custom Field”, “Custom Script”] like that

1 Like