Bench migrate resets the naming series for purchase invoice but not other docs?

Hello.
When doing bench migrate my purchase invoice naming series always reverts to the default. I have to go back and set it back to my custom value every time after the migrate. The other docs we use are being left alone.

How can i trace something like this down?

Hi,

Even if you made a custom change to Purchase Invoice naming_series from the default autoname, migrate and data migration patches should not normally break the integrity of the (key, value) entries stored in the database.

If you are ok to query your database, this example session may help you check for clues to your issue.

Thinking about it i checked customize form again and found the problem. There was an option set in the naming series field options that was overwriting the naming series settings. I fixed that and all is good now.
thanks.

1 Like