Account Move Line Sale Info
This module will add the sale order line to journal items.
The ultimate goal is to establish the sale order line as one of the key fields to reconcile the Goods Delivered Not Invoiced accrual account.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds the Sales Order and Sales Order Line to journal items, so accountants can trace each accounting entry back to the sale that generated it and group or filter journal items by sale order.
This module links accounting entries to the sales documents behind them. On every journal item (account.move.line) you get two new fields: Sales Order and Sale Order Line. They are filled in automatically when invoices are created from sales orders, when stock moves generate accounting entries, and for the cost-of-goods entries created by Anglo-Saxon accounting.
Where you see it: - On the journal item form and list, the Sales Order and Sale Order Line columns appear next to the partner. - On the invoice form, the same columns are available in the journal items list. - In the Journal Items list view, you can filter and group by Sales Order or by Sales Order Line; the sale order line is shown as "[order reference] product (order status)".
Business rules and automatic behaviour: - When an invoice line is prepared from a sales order line, the link is stored on the resulting journal item. - When a stock move creates its accounting entry, the sales order line of the move is copied onto the entry. - For Anglo-Saxon cost entries, the module tries to match the invoice line by product and quantity and copies its sales order line. - When an existing journal item is copied, the sales order line is carried over.
Access to these fields and filters is controlled by a hidden group "Sale info in Journal Items", given to administrators. On installation, existing journal items are filled in from their stock moves or from their linked sales order lines.
Depends on
Required by other modules
Models and fields (3)
- stock.move · extends an existing model
- sale.order.line · extends an existing model
- account.move.line · extends an existing modelsale_line_id (Sale Order Line), sale_order_id (Sales Order)
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/account-financial-tools.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0The sale order line will be automatically copied to the journal items.
- When a customer invoice is created referencing sales orders, the sale order line will be copied to the corresponding journal item.
- When a stock move is validated and generates a journal entry, the sale order line is copied to the account move line.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.