stock_analytic
Provide analytic distribution tracking on stock operations so their resulting accounting entries carry the intended analytic allocations.
Key Features
- stock.move: Introduces an analytic distribution field that synchronizes with move lines, procurement values, and valuation journal items so non-valuation entries inherit the selected analytics.
- stock.move: Validates analytic applicability when moves are completed, honoring plan settings while skipping returns to avoid false errors.
- stock.move.line: Propagates manual analytic distribution on move lines back to the parent move and to new moves created from them.
- stock.rule: Ensures replenishment-generated moves carry over analytic distribution values.
- stock.picking: Forces analytic validation when pickings are validated to enforce applicability rules.
- stock.scrap: Adds analytic distribution support on scrap documents and their generated moves, including validation context.
- account.analytic.applicability: Extends analytic plan applicability to stock moves with optional filtering by operation type and dedicated scoring logic.
- inventory UI: Adds analytic distribution widgets to stock move, move line, picking, and scrap views for users in the analytic accounting group.