Custom override of account.move
observed missing invoice numbers (sequence gaps) in production
We have a custom override of account.move, where _compute_name is used to generate invoice sequence numbers using next_by_id().
This happens during invoice posting under concurrent usage.
I think this may be due to a race condition, possibly during concurrent invoice posting.
However, we are unable to reproduce the same issue in localhost.