OdooWiki OCA HUB

Sales Timesheet: exclude Task from Sale Order

sale_timesheet_task_exclude folder_open OCA/timesheet open_in_new
Sales License: AGPL-3

Allows to exclude specific Task and all Timesheets tracked towards it from Sale Order.

This feature proves itself useful for By Employee billing approach, when any timesheet entry tracked towards a specific task need to be excluded from the Sale Order.

This functionality is not available in Odoo, reported in odoo/odoo#31042.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds an "Exclude from Sale Order" checkbox on tasks so you can keep a task and its timesheets out of the linked Sale Order.

This module adds a single checkbox, "Exclude from Sale Order", on the task form, placed just before the existing Sale Order Item field. It is meant for teams that bill timesheets by employee and need certain tasks to stay out of the Sale Order.

When you tick the checkbox on a task, the task is treated as not linked to any Sale Order: the computed Sale Order shown on the task is cleared. The change is applied automatically whenever the checkbox is saved, so you do not need to run anything manually.

Saving the checkbox also refreshes the timesheet entries already logged on that task, but only those that have not yet been invoiced. This means timesheets that are still open get re-evaluated against the new setting, while already invoiced lines are left untouched.

  • Where it appears: on the task form, next to the Sale Order Item field.
  • What it affects: the task itself and its timesheet entries.
  • Business rule: excluded tasks show no Sale Order, and their not-yet-invoiced timesheets are recalculated.
  • Limitation: timesheets that are already invoiced are not changed.

The module extends the project.task model and depends on sale_timesheet and sale_project.

Depends on

sale_timesheetsale_project
Models and fields (1)
  • project.task · extends an existing modelexclude_from_sale_order (Exclude from Sale Order)

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/timesheet.

terminal Installation and usage

OCA documentation · Odoo 16.0

Go to Project > Tasks Open specific task for editing Check Exclude From Billing

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.