@@ -3,8 +3,8 @@ Vendor bill sequence
3
3
====================
4
4
5
5
When confirming a vendor bill, Odoo generates a unique vendor bill reference number. By default, it
6
- uses the following sequence format `BILL/year/month/incrementing-number ` (e.g.,
7
- ` BILL/2025/01/00001 `), which restarts from `00001 ` each year.
6
+ uses the sequence format `BILL/year/month/incrementing-number ` (e.g., ` BILL/2025/01/00001 `), which
7
+ restarts from `00001 ` each year.
8
8
9
9
However, it is possible to :ref: `change the sequence format <accounting/vendor_bills/resequencing >`
10
10
and its periodicity, and to :ref: `mass-resequence vendor bills
@@ -60,7 +60,26 @@ Follow these steps to resequence vendor bill numbers:
60
60
#. Set the :guilabel: `First New Sequence `.
61
61
#. :guilabel: `Preview Modifications ` and click :guilabel: `Confirm `.
62
62
63
- The first vendor bill using the new sequence appears in red in the :guilabel: `Bills ` list view.
64
-
65
63
.. image :: sequence/sequence-bill-sequencing.png
66
64
:alt: Resequence options window
65
+
66
+ .. note ::
67
+ - To indicate where the sequence change began, the first vendor bill in the new sequence is
68
+ highlighted in red in the :guilabel: `Vendor Bills ` list. This visual marker is permanent
69
+ and purely informational.
70
+ - If there are any irregularities in the new sequence, such as gaps, cancelled, or deleted
71
+ entries within the open period, a :guilabel: `Gaps in the sequence ` message appears in the
72
+ :guilabel: `Vendor Bills ` journal on the Accounting dashboard. To view more details about the
73
+ related vendor bill(s), click :guilabel: `Gaps in the sequence `. This visual marker is temporary
74
+ and will disappear once the entry's accounting date is on or after the lock date.
75
+
76
+ .. tip ::
77
+ Resequencing is not possible:
78
+
79
+ - When entries are before a lock date.
80
+ - When the sequence leads to a duplicate.
81
+ - When the range is invalid. For example, if the :guilabel: `Bill Date ` doesn't align with the
82
+ date in the new sequence, such as using a 2024 sequence (BILL/2024/MM/XXXX) for an vendor bill
83
+ dated in 2025.
84
+
85
+ In these cases, a :guilabel: `Validation Error ` message appears.
0 commit comments