account_move_line_sale_info
Expose sale order references on journal items so they can be reconciled and analyzed alongside goods delivered not invoiced.
Key Features
- account.move.line: Stores the originating sale order line and related sale order on each journal item to preserve sales traceability.
- account.move: Extends Anglo-Saxon stock valuation line preparation to assign the matching sale order line onto generated journal entries.
- sale.order.line: Copies its identifier onto created invoice lines and adjusts display names in sale-info contexts to ease selection.
- stock.move: Propagates its sale order line reference onto the accounting move lines produced by stock valuation.
- account.move.line views: Adds sale order and sale order line columns plus group-by filters in journal items for members of the dedicated group.
- security: Provides a specific access group controlling who can see sale order information on journal items.
- post_init_hook: Backfills sale order and sale order line references on existing journal items via SQL updates.