project_timesheet_time_control
Track timesheet work with precise start/stop timestamps and timer controls across timesheets, projects, and tasks.
Key Features
- account.analytic.line: Adds start and end datetime fields for timesheet entries, deriving the date from the start time to keep records consistent.
- account.analytic.line: Provides resume and stop timer actions that compute duration on stop and prevent stopping an already finished timer.
- account.analytic.line: Adjusts list, form, and kanban views to display datetime fields and inline timer buttons for timesheet users.
- hr.timesheet.time_control.mixin: Supplies reusable start/stop button logic based on running timers for related records.
- project.project: Enables project-level start/stop work buttons when timesheets are allowed, starting timers without a task by default.
- project.task: Enables task-level start/stop work buttons when the project allows timesheets, pre-filling the project context.
- hr.timesheet.switch: Wizard stops an existing running timer (with warnings for long durations) and starts a new one using defaults from the current task, project, or timesheet line.
- setup: Post-init hook initializes start times on existing timesheet lines to match their dates.