After a Dolibarr upgrade, what changes for you (21 to 24)
Revenue different after the upgrade, invoice that no longer goes back to draft, field gone: the behaviour changes of Dolibarr 22, 23 and 24 that surprise users, tested version by version, with the setting that brings back the old behaviour when there is one.
Want someone to look at your instance? Diagnosis, fixed price €90.
What was checked (versions, tests, code read)
Tests on 04/11/2026 on fresh installations of Dolibarr 21.0.4, 22.0.5, 23.0.4 and 24.0.2 (official Docker images, MariaDB 11.4, French company, French interface): invoice of 15 October paid on 4 November, revenue and income/expense reports opened without changing anything; back to draft of an invoice sent by email and of an invoice whose PDF was opened. Default value of the calculation mode read in the code (conf.class.php) of 21.0.4 and 22.0.5. Screen labels in English and German taken from the official language files of each version. The other points refer to guides tested earlier.
After an upgrade, some screens no longer behave as before, without any error message. The most telling case on the French forum: a user who went from 16 to 22 thought they had lost data, because their revenue figures were no longer the same (thread “Données perdues après MAJ”). Nothing was lost: the default calculation mode had changed.
This guide only lists these behaviour changes, visible day to day, tested on 4 November 2026 on fresh installations of each version. The tests used a French company and the French interface: the screenshots are in French, and the English and German screen names quoted here come from Dolibarr’s official language files. For the upgrade method and the changes that affect modules, see Upgrading Dolibarr without breaking anything.
In short
| Version | What changes | Going back to the old behaviour |
|---|---|---|
| 22 | Revenue and income/expense calculated by invoice date instead of payment date | Yes, one setting |
| 23 | An invoice sent by email no longer goes back to draft | No: credit note + new invoice |
| 23.0.x | With immutable logs, opening the PDF is enough to lock the invoice | Fixed in 24.0.2 |
| 23 | The “Private” box disappears from email templates | Fixed in 24.0.2 |
| 23 | Computed fields: some functions rejected | A whitelist in conf.php |
| 24 | The title (Mr, Mrs) disappears from contact cards | Yes, a constant |
| 24 | Automatic sending of recurring invoices by email | New feature |
22: revenue switches to the invoice date
The test. An invoice of €1,000 excl. VAT (€1,200 incl. VAT) dated 15 October, paid on 4 November. The reports are opened without changing anything, on a fresh installation where the calculation mode has never been saved:
| Version | Report offered by default (English name) | October | November |
|---|---|---|---|
| 21.0.4 | “Turnover collected” (payment date) | nothing | €1,200 incl. VAT |
| 22.0.5 and 23.0.4 | “Turnover invoiced” in 22, “Revenue invoiced” in 23 (invoice date) | €1,000 excl. VAT | nothing |
| 24.0.2 | “Invoiced revenue” (invoice date) | €1,000 excl. VAT | nothing |
The AccountingReportsIncome / Expense page follows the same setting. In 24.0.2 it ticks “Analysis of known recorded documents”:

Why. In the code, the default value of the ACCOUNTING_MODE setting changed from “RECETTES-DEPENSES” (payments)
in 21 to “CREANCES-DETTES” (invoices) in 22. It only applies if the setting has never been saved, which is the case
for many old installations.
Going back to payments. Open the Accounting module setup page (HomeSetupModules, settings of the “Accounting (simplified)” module), choose Cash accounting (name in English from 22 on) and save. Tested in 22.0.5, 23.0.4 and 24.0.2: the October invoice moves back to November in the result and in the revenue. For a one-off look, the Reports menu also offers both views side by side: Invoiced revenue and Collected revenue (24.0.2 names).

In English, the two options are clear: Cash accounting = by payment date, Accrual accounting = by invoice date. In 21 they were called “Option Incomes-Expenses” (payments) and “Option Claims-Debts” (invoices). In other languages the names can be misleading (in French 24.0.2, the invoice-date option is called “Option Recettes-Dépenses”): always go by the description to the right of each option.
23: an invoice that was sent no longer goes back to draft
Tested: in 22.0.5, a validated invoice then sent by email from Dolibarr still goes back to draft with Modify. In 23.0.4 and 24.0.2 the click is refused (“Disabled because invoice has already been sent by email at least once”). A payment also blocks it, in 22, 23 and 24.
In 23.0.4, with the Immutable Logs module enabled, simply previewing or downloading the PDF is enough to lock it. This is no longer the case in 24.0.2.
The correction goes through a credit note, then a new invoice: the steps are in Correcting a validated invoice in Dolibarr 23 and 24.
23: two changes already detailed on this site
- Email templates: the “Private” column has disappeared from the screen, but the setting still works. Fixed in 24.0.2. See the “Private” field of email templates.
- Computed fields: some functions and concatenation are rejected. See computed field rejected since Dolibarr 23.
24: the title disappears, automatic sending arrives
- Contact title: the Mr, Mrs… field is no longer shown on contact cards. A constant brings it back:
the title field has disappeared from contacts. As long as it is
hidden, the email template variable
__CONTACT_TITLE_BILLING__stays empty. - Recurring invoices: a recurring invoice template can now send each generated invoice by email, with an email template of your choice. This setting does not exist in 23.0.4. The email goes to the billing contact, otherwise to the customer’s address: see email templates in Dolibarr.
Before upgrading
Replay the upgrade on a copy, then compare three screens with the current version: the revenue report of a past month, a validated invoice (try Modify) and sending an invoice by email. These are the three places where the changes above show. The Your upgrade path tool gives the steps from your version.
How this was checked
On 4 November 2026, on fresh installations of Dolibarr 21.0.4, 22.0.5, 23.0.4 and 24.0.2 (official Docker images,
MariaDB 11.4, French company, French interface), driven by a browser like a user: the same October invoice paid in
November, then the “revenue” and “income / expense” reports opened without parameters; back to draft of an invoice
sent by email (real sending to a test server), and of an invoice whose PDF was opened, with and without immutable
logs. The default value of ACCOUNTING_MODE was read in the code of 21.0.4 and 22.0.5; the recurring invoice sending
setting was looked for in the code of 23.0.4 and 24.0.2. The English names of the screens come from the official
language files of each version. The “Private”, computed fields and title changes refer to guides tested in October
2026. A real migration of an old database was not replayed for this guide.
See also
Frequently asked questions
Why did my Dolibarr revenue change after upgrading to version 22?
Since version 22, if the calculation mode has never been saved, Dolibarr calculates revenue by invoice date, no longer by payment date. An October invoice paid in November now counts in October, no longer in November. Nothing is lost: choose “Cash accounting” in the Accounting module setup, or open the “Collected revenue” report.
Why can't my invoice go back to draft since Dolibarr 23?
Since 23, a validated invoice already sent by email from Dolibarr can no longer go back to draft; in 22.0.5 it could. You correct it with a credit note, then a new invoice.