December 3, 2026 · 6 min · Security

Lire en français

Odoo 20: deploy two-factor authentication without blocking teams

For an Odoo business in Belgium or France, a password alone is not a sufficient boundary around accounting, sales, inventory, or HR data. In Odoo 20 Enterprise, two-factor authentication (2FA) adds a code generated by an authenticator application after the password. The project question is not only whether to turn it on: teams need an orderly plan for users in scope, support, and recovery when a device is lost.

Define the scope before enforcing it

Odoo can enforce 2FA for employees or for all users; the latter also includes portal users. Separate internal accounts, customer and supplier portal users, administrators, test accounts, and any technical accounts. An SME may start with people who administer the database or approve sensitive operations; a more exposed organisation can extend the policy after a pilot.

Prepare enrolment and support

Each person enables 2FA from their preferences: Odoo asks them to confirm their password, then displays a QR code to register in an authenticator application. Before rollout, communicate the date, journey, support channel, and policy for company or personal phones. Do not collect secrets or one-time codes: they must remain under the user’s control.

Make loss of access a process

If someone loses access to their authenticator, Odoo’s documentation states that an administrator must deactivate 2FA before that user can sign in. Name who may perform this action and apply proportionate identity verification. Retain a record of the request, approval, and re-enrolment; otherwise a legitimate emergency can become uncontrolled access escalation.

Do not confuse 2FA with session management

2FA protects the start of a session, but does not replace access rights or review of signed-in devices. Odoo notes that repeated authentication-code requests can also be caused by session or inactivity timeout policies configured on groups. Review session duration, revoked devices, inactive accounts, and application permissions separately.

Validate through representative scenarios

Before enforcing 2FA for a Belgian company and its French subsidiary, test a sales user, accountant, administrator, and portal user. Verify first sign-in, a phone replacement, controlled deactivation, device revocation, and inactivity behaviour. Authentication proves who is connecting; it never expands what that person can do.

Official source and scope

The official Odoo 20 two-factor authentication documentation describes individual setup, enforcement for employees or all users, and recovery when an authenticator is lost. The rollout, support, and acceptance-test approach is Underside’s analysis for Odoo Belgium, Odoo France, and Odoo Enterprise projects.

Secure your Odoo rollout with Underside, from roles and rights to production acceptance testing.

Back to blog