Custom fields auto generate git

Hi everyone,

We adopt ERPnext in our company and we have developed a policy containing code review.
Lately, when I reviewed the code of a task our developer worked on, I noticed some files like Myapp/fixtures/custom_field.json have many differences on git.
what is the reason for that and any chance to reduce this?

BR,
Alaa

the fixture is an auto-generated JSON file and each time it generates a different shape of data.
I recommend ignoring the fixtures files from the pipelines policy.
and you can try alternatives for fixtures using standard import data or patches.

1 Like