Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] account: keep the sequence consistent if canceled
Steps to reproduce: ``` | Step | Move | Action | Date | Name | | ---- | ---- | ----------- | ---------- | ----------- | | 1 | `A` | Add | 2023-02-01 | `2023/02/0001` | | 2 | `B` | Add | 2023-02-02 | `/` | | 3 | `B` | Post | 2023-02-02 | `2023/02/0002` | | 4 | `A` | Cancel | 2023-02-01 | `2023/02/0003` | -> Wrong ``` Issue: The first invoice should keep its sequence to 1 opw-3757022 closes odoo#158665 X-original-commit: 4b5b616 Signed-off-by: Yolann Sabaux (yosa) <yosa@odoo.com> Signed-off-by: William André (wan) <wan@odoo.com>
- Loading branch information