Skip to content

Commit

Permalink
[IMP] product: make product name clickable again
Browse files Browse the repository at this point in the history
Feature present in V8 but removed at 0d68a01
Reintroduce the name of the template to be able to click on it

closes #26821
  • Loading branch information
fmdl authored and mart-e committed Sep 10, 2018
1 parent d65969d commit 7d581fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addons/product/views/product_views.xml
Expand Up @@ -329,8 +329,11 @@
<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_inline" readonly="1" invisible="1" attrs="{'required': [('id', '!=', False)]}"/>
<field name="product_tmpl_id" class="oe_read_only oe_inline" readonly="1" attrs="{'required': [('id', '!=', False)]}"/>
</field>
<field name="item_ids" position="inside">
<field name="pricelist_item_ids" widget="many2many">
Expand Down

0 comments on commit 7d581fa

Please sign in to comment.