This module adds hook points in sale_timesheet module in order to add more flexibility in the billing types for the creation of Sale Orders.
Although the original code has been modified a bit, the logic has been respected and the method still does exactly the same.
Technical Enhancements:
- account.analytic.line extendability improvements:
- _get_valid_so_line_ids overridable
- project.create.sale.order extendability improvements:
- action_create_sale_order refactor, reported in odoo/odoo#31047.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0This module adds flexibility to how timesheets are billed when creating a sales order from a project. It also adds a check to ensure timesheet lines are linked to a valid sales order item.
This module extends the sale_timesheet functionality by providing hook points for developers to customize billing types when creating sales orders from projects. For end users, it introduces a validation on timesheet lines: when a timesheet line is linked to a sales order item, the system checks that the item is valid for the project or task. If not, an error message appears: 'This timesheet line cannot be billed: there is no Sale Order Item defined on the task, nor on the project. Please define one to save your timesheet line.'
Additionally, the module modifies the wizard that creates a sales order from a project. It adds checks before creating the order: the project must not already be linked to a sales order item; if billing by employee rate, all employees who logged timesheets on the project must be included in the wizard lines; and no timesheet in the project can already be linked to another sales order. If any of these conditions are not met, a user error is raised. The wizard then creates the sales order, confirms it, and opens the sales order form.
The module touches the account.analytic.line model (timesheet lines) and the project.create.sale.order wizard. It does not add new menus or screens; it enhances existing ones.
Depends on
Models and fields (2)
- account.analytic.line · extends an existing model
- project.create.sale.order · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 12.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-03Confirmation status: 1 confirmed, 8 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
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.