Victor Piryns (pivi) d31ad80f9a [FIX] sale_project: hide service_tracking for none service products
Current behaviour:
Any product type of product that is sellable can add
`service_tracking` option on the product.

Expected behaviour:
`service_tracking` should be available only for services that are
sellable.

Steps to reproduce:
- Install `sale_project`
- Create a new product, type `consu`
- Observe we have the `service_tracking` option available (create
  project/task/project&task on SO confirmation)

Reason for the problem:
Incorrect domain for the `service_tracking` field in the view.

Fix:
Correct domain for the field. The field should be `invisible` only
when the product `type` is not a service *or* it's not sellable.

Affected versions:
- saas-16.3
- master

opw-3366909

closes odoo/odoo#126750

X-original-commit: 1634019df17d25167bad091933d757f706f7549b
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
2023-06-29 00:18:42 +02:00
2023-06-27 10:42:56 +02:00
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%