Skip to Content

Sale Order Line History & Audit Log

by

13.93

19.0 0
Live Preview
Required Apps Discuss (mail)
Sales (sale_management)
Invoicing (account)
Technical Name sale_order_line_change_log
License OPL-1
You bought this module and need support ? Click here!
Technical Name sale_order_line_change_log
License OPL-1
Sale Order Line History & Audit Log

Never Lose Track of Sales Order Changes Again

Sale Order Line History & Audit Log automatically records every modification made to sale order lines and posts a detailed, human-readable note directly in the order chatter. Know what changed, when it changed — with zero extra clicks.


Why Your Sales Team Needs This

Without This Module With This Module
❌ No record of who changed a product on an order ✔ Full log of every product added or removed
❌ Impossible to see if a price was modified after confirmation ✔ Before/after price unit displayed in chatter
❌ Discount changes go undetected ✔ Discount percentage changes tracked precisely
❌ Quantity edits are invisible in audit ✔ Quantity and unit of measure changes logged
❌ Tax modifications cause silent billing errors ✔ Tax changes captured and logged automatically

Key Features

📝 Automatic Chatter Logging

Every save that touches order lines triggers an internal note in the chatter — no configuration needed.

➕ / ➖ Added & Removed Lines

Clearly distinguishes between new lines (green) and deleted lines (red) with full product details.

✎ Field-Level Change Diff

For modified lines, shows exactly which field changed with the old value → new value for each attribute.

💰 Currency-Aware Prices

Prices are formatted with the order's currency symbol and decimal precision automatically.

⚡ Zero Performance Impact

Snapshots are only taken when order_line is actually part of the write — other saves are never touched.

🔒 Non-Intrusive

Pure extension — no views, no fields, no security rules required. Installs and uninstalls cleanly.


See It In Action

Chatter log showing an order line modification with before/after values.

Chatter log example showing sale order line changes

What Is Tracked on Every Save

Field Tracked Detail in Log
Product Full display name of the product
Description Old description vs. new description
Quantity Qty before → qty after with unit of measure
Unit of Measure UoM name included alongside quantity
Unit Price Formatted with currency (e.g., 150.00 $)
Discount % Previous % → current %
Taxes Comma-separated tax names before and after
Line Added Full snapshot of the new line in green
Line Removed Full snapshot of the deleted line in red

How It Works

1️⃣ Before Write — Snapshot
When a sale order is saved with order line changes, the module captures a before-snapshot of all line data.
2️⃣ Write Executes Normally
The standard Odoo write logic runs without any interference — no performance overhead during the actual save.
3️⃣ After Write — Compare & Log
The module compares the after-state with the snapshot, builds an HTML diff message, and posts it as an internal note in the chatter.

Compatibility & Requirements

Odoo Version Required Apps Enterprise Needed?
19.0 Sales Management, Discuss No — works on Community & Enterprise

Support & Contact

Questions, feature requests, or bugs? Reach out directly:
Mouad Lyaazale
[email protected]

After purchase, support is provided via email. We typically respond within 24 hours on business days.

Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.