Skip to content
Snippets Groups Projects
Commit d3808a5d authored by Djamel Touati's avatar Djamel Touati
Browse files

[FIX] stock: no tracking for service product


Steps to reproduce the bug:
- Create a storable “P1”:
   - tracking= serial
   - save
- Change the type of product to service

Problem:
some fields for tracked products are not hidden, because the product
tracking is not updated.

Solution:
Convert _onchange_type into compute methods.
The tracking is updated even if the change type is applied from the
"product.product" form.

opw-3499976

closes odoo/odoo#135852

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent 5d98384e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment