sale_project_task_selection
This module allows to manually select the Task or Project for a Sale Order Line, before its confirmation.
Key Features
- sale.order.line: Adds project_id and task_id fields for manual selection on service tracking lines
- sale.order.line: Implements onchange logic to auto-set project when task is selected if project is empty
- sale.order.line: Clears task when project is changed to a different one
- sale.order.line: Binds manually set tasks to sale lines upon order confirmation with proper linking
- sale.order.line: Validates that manually set tasks are not already linked to other projects, lines, or orders
- sale.order.line: Overrides timesheet service generation to prioritize manual project/task selections over automatic creation
- sale.order: Adds has_project_service_tracking_lines computed field to track presence of service tracking lines
- sale.order: Controls visibility of project and task fields and columns based on service tracking configuration