[REV] product: Product variant name should not be clickable.
Because when the user comes from the sales order and click on product variant name it will redirect on the product template page, so it looks weird. Revert commit : https://github.com/odoo/odoo/commit/7d581fa66fcd389006dc9330f885eef31aeabe05 task-1968151 closes odoo/odoo#33368 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
This commit is contained in:
committed by
Barad Mahendra
parent
9bdecc7b61
commit
7108264fe5
@@ -393,11 +393,8 @@
|
||||
<group name="packaging" position="attributes">
|
||||
<attribute name="attrs">{'invisible': 0}</attribute>
|
||||
</group>
|
||||
<field name="name" position="attributes">
|
||||
<attribute name="class">oe_edit_only</attribute>
|
||||
</field>
|
||||
<field name="name" position="after">
|
||||
<field name="product_tmpl_id" class="oe_read_only oe_inline" readonly="1" attrs="{'required': [('id', '!=', False)]}"/>
|
||||
<field name="product_tmpl_id" class="oe_inline" readonly="1" invisible="1" attrs="{'required': [('id', '!=', False)]}"/>
|
||||
</field>
|
||||
<field name="item_ids" position="inside">
|
||||
<field name="pricelist_item_ids" widget="many2many">
|
||||
|
||||
Reference in New Issue
Block a user