project_task_stock
Enable project tasks to drive inventory consumption directly with stock moves and related analytic entries.
Key Features
- project.project: Projects define default picking type, source/destination locations and analytic date for task material moves, pushing updates to pending task moves when changed.
- project.task.type: Task stages can enable stock move usage and optionally lock materials once the stage is marked as done.
- project.task: Tasks in stock-enabled stages expose a Stock Info tab listing stock moves with buttons to confirm, reserve, transfer, cancel, scrap or unreserve materials and lock or unlock editing.
- project.task: Tasks carry their own picking type, source and destination locations and analytic date overriding project defaults and propagate those settings to pending moves, with automatic reservation when entering a done stock stage.
- project.task: Completing a task validates remaining stock moves, filling zero consumed quantities with demanded amounts before processing the transfers.
- stock.move: Stock moves link to tasks as material consumers, inherit procurement group and logistics context from the task, offer forecast reporting, and can be canceled from the task while cleaning related analytic lines or resetting done quantities.
- stock.move: Finalizing task-related moves creates analytic lines on the task’s analytic account or distribution using the chosen analytic date and standard cost amounts.
- stock.move.line: Move lines compute the related task from their parent move for reporting and visibility.
- stock.scrap: Scrap operations can be launched from tasks, pre-filling locations and linking scrapped quantities back to the task’s material moves.
- account.analytic.line: Analytic lines keep references to the originating task and stock move and skip timesheet cost recalculation for stock-driven entries.