account_resequence_widget
Renumbering posted journal entries is not something you want to guess at. This widget draws the before and after list so the wizard can be read before it is run.
August 27, 2026Updated August 27, 20265 min read
| Technical name | account_resequence_widget |
|---|---|
| Field types | text |
| Views | form |
| Module | account, present wherever Invoicing or Accounting is installed |
| Used in core | 1 occurrence, the resequence wizard in account |
| Versions | Odoo 20.0, Odoo 19.0, Odoo 18.0, Odoo 17.0, Odoo 16.0 |
| No-code setup | No. The preview payload has to be computed server side |
| Alternatives | grouped_view_widget, account_batch_sending_summary, html, open_move_widget |
What the resequence preview does
What this means for your team
Working examples
Parsed on every render, which is why the preview follows the options
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. Byte-identical to Odoo 19 on the development branch. |
| Odoo 19.0 | Verified | Verified against the shipped source. Same as Odoo 17 and 18. |
| Odoo 18.0 | Verified | Identical behavior. |
| Odoo 17.0 | Verified | This is where parsing moved into a getter. |
| Odoo 16.0 | Verified | Same contract and same rendering, but the value was parsed in setup and again on props updates. |
Upgrade note. Nothing to do. The JSON contract and the registration name have been stable since Odoo 16, and only the internal parsing approach changed in Odoo 17. Custom modules that produce their own preview payload are unaffected.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| The preview is empty | The field holds no value, so the widget falls back to an empty change list. Check the selection the wizard was opened on; an empty preview means nothing would be renumbered. |
| The preview does not match the ordering I chose | The ordering key in the payload is what the renderer uses, and it comes from the server computation. Re-check the wizard's ordering field; the panel follows what the server returned. |
| Nothing renders and there is a JSON error | The field does not contain a valid JSON object of the expected shape. Make the server-side computation return an object with a change lines array and an ordering key. |
| Options are ignored | The registration has no extractor, so nothing in the options dictionary is read. Nothing to configure. |
| Missing widget error | The accounting module is not installed in that database. Install Invoicing or Accounting. |
Resequence preview vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
account_resequence_widget | Showing a before and after list before a renumbering is applied | Parses a JSON payload on every render, so the preview follows the wizard's options |
| grouped_view_widget | Tabular previews with configurable columns | Columns come from the payload rather than being fixed |
| account_batch_sending_summary | A wizard summary panel | Reads its value once, so it does not follow later changes |
| html | Free-form server-generated previews | No structure to match and no client-side parsing |
| open_move_widget | Linking from a line to its journal entry | A navigation cell rather than a preview panel |
Frequently asked questions
What does the resequence preview show?+
Why does the panel update when I change the wizard options?+
What happens if the field is empty?+
Can I configure it?+
Has it changed across versions?+
Sequence gaps that an auditor will ask about
Numbering rules, gapless sequences and the corrections you are allowed to make differ by country, and they are easier to design than to repair. We set up Odoo document sequencing and localization on versions 16 through 19.
Book a free consultation