Lock confirmed orders, flexibly not blindly

Field-level, server-enforced locking for confirmed sale orders. Product, quantity, price and discount become tamper-resistant the moment an order locks — notes and descriptions stay editable, with a fully audited unlock path for authorized users.

The problem

Once a sale order is confirmed, any change to its quantities, prices or products silently breaks the alignment between what was sold, what gets delivered and what gets invoiced. Odoo’s native lock is all-or-nothing: it either leaves the order fully editable or freezes everything, blocking the legitimate note updates that keep coordination moving after confirmation.

The solution

This module locks only what matters. Product, quantity, price and discount are protected the instant an order confirms (or invoices, your choice) while notes and descriptions stay open. Authorized users can open a time-limited edit window for genuine corrections, with every lock, unlock and re-lock recorded in a full audit log.

Capabilities

Everything a confirmed order lock should do

Every capability below is implemented in the module.

01

Automatic lock on confirmation

Order lines become tamper-resistant the moment the sale order is confirmed — no manual step, no separate setup per order.

02

Field-level protection, no code

Choose exactly which of product, quantity, unit price and discount get locked from Settings — notes and descriptions always stay editable.

03

Configurable lock trigger

Match the lock point to your workflow: lock on confirmation, or wait and lock only once the order is invoiced.

04

Authorized unlock with auto re-lock

A permitted user can open a time-limited edit window to make a genuine correction — the order re-locks itself automatically when it expires.

05

Role-based override permissions

Only users in the Unlock Confirmed Orders group (Sales Managers by default) can open an edit window, keeping flexibility from becoming a loophole.

06

Comprehensive audit log

Every lock, unlock and re-lock is written to a dedicated audit log and mirrored to the order chatter, so nothing goes untraced.

07

Clear locked-field messaging

A warning banner and an explicit message name which fields are locked and which remain editable — no more silent, confusing failed edits.

08

Bulk lock and unlock

Lock or open an edit window on many orders at once, straight from the sale order list’s Action menu — no need to open each order.

09

Team-wide locked-orders dashboard

A single list of every locked confirmed order across the sales team, with filters and group-by for salesperson, team and customer.

Workflow

How it works

1

Configure protection

In Sales Settings, pick the lock trigger, choose which fields are protected, and set the edit-window duration.

2

Order locks automatically

The moment an order is confirmed (or invoiced), its protected line fields become read-only and a warning banner appears.

3

Open an edit window if needed

An authorized user clicks Unlock to open a time-limited window, makes the correction, and the order re-locks itself automatically.

4

Review the audit trail

Check the Lock Audit Log or the dashboard any time to see who locked, unlocked or re-locked which order, and when.

Questions

Frequently asked

No sales fog. If your question isn't here, email us and we'll answer it the same way.

Yes. Locking only protects the fields you choose (product, quantity, unit price, discount). Order lines' notes, descriptions and the order's internal note field always stay editable, even while the order is locked.

Get the app

Buy it on the Odoo App Store

Purchase, download and install directly from the official Odoo Apps Store — you'll always get the latest supported build.

Lock Confirmed Sale Order (Flexible)

Field-level locking for confirmed sale orders — product, quantity, price and discount frozen while notes stay editable — with a configurable trigger, authorized unlock windows that re-lock automatically and a team-wide locked-orders dashboard.

Buy on Odoo App Store