Files
odoo_source/addons
Xavier BOL (xbo) c348d596a6 [FIX] sale_timesheet: ensure product is a service one for timesheets
Before this commit, since the adding of new field in `product.template`
model called `detailed_type` to define the detailed type of a product.
We need to update some domains to select a correct timesheet product.
That is, the timesheet product must be a service product and not an
event or event booth product.

This commit updates the domains in those fields:
- `timesheet_product_id` field defined in project (`project.project`).
- `sale_line_id` field defined in the `project.create.sale.order` model.
to be sure we select a service product (or SOL with service product
linked) for timesheets.

task-2642872

closes #79034

X-original-commit: b60bc724c197f101d71109d7b8fcdfe7cdc5b57a
Part-of: odoo/odoo#79291
2021-11-02 16:59:56 +00:00
..
2021-08-23 08:56:13 +00:00
2021-10-26 13:22:44 +00:00
2021-10-06 12:39:43 +00:00
2021-09-16 07:17:40 +00:00
2021-07-16 11:26:38 +02:00