Skip to content
Snippets Groups Projects
Commit 206e88b0 authored by Touati Djamel (otd)'s avatar Touati Djamel (otd)
Browse files

[FIX] product: hide cost label from the view if product with variant

The group `“base.group_user”` is added in the view for the field
`standard_price` while it is already set on the python side:
https://github.com/odoo/odoo/blob/16.0/addons/product/models/product_template.py#L76


this causes an issue in the case of a product with variants,
the invisible attrs is ignored, the `standard_price` and
`uom_name` field are hidden, but the label will still be displayed

opw-3076827

closes odoo/odoo#106842

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent acfa94b7
No related branches found
No related tags found
Loading
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