When an invoice is deleted, and a new one is created, the sequence number does not fill the gap created by the deleted record.
This, however, works fine when account_move_name_sequence is not installed.
Module
account_move_name_sequence
Describe the bug
Sequence no gap implementation is failing.
To Reproduce
Affected versions: 16.0 (so far)
Steps to reproduce the behavior:
Invoice a sale order
Confirm the invoice
Reset to draft
Delete the invoice
Create another invoice
Confirm it
There is now a gap in a "no gap" implementation
Expected behavior
The expected behavior was for the gap that was created in the sequence to be filled in after creating a new invoice
When an invoice is deleted, and a new one is created, the sequence number does not fill the gap created by the deleted record. This, however, works fine when account_move_name_sequence is not installed.
Module
account_move_name_sequence
Describe the bug
Sequence no gap implementation is failing.
To Reproduce
Affected versions: 16.0 (so far)
Steps to reproduce the behavior:
Expected behavior The expected behavior was for the gap that was created in the sequence to be filled in after creating a new invoice