Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1759 Zobrazení

I want to hide some field from product.template tree view using inheritance but my code is not working. Nothing happened on the UI.

<record id="view_product_template_tree_view_inherit" model="ir.ui.view">
<field name="name">product.template.tree.inherit</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_tree_view"/>
<field name="arch" type="xml">
<field name="sequence" position="attributes">
<atttribute name="invisible">1</atttribute>
</field>
<field name="standard_price" position="attributes">
<atttribute name="invisible">1</atttribute>
</field>
<field name="categ_id" position="attributes">
<atttribute name="invisible">1</atttribute>
</field>
<field name="type" position="attributes">
<atttribute name="invisible">1</atttribute>
</field>
<field name="uom_id" position="attributes">
<atttribute name="invisible">1</atttribute>
</field>
<field name="list_price" position="after">
<field name="x_location_id"/>
<field name="x_posx"/>
<field name="x_posy"/>
<field name="x_posz"/>
</field>
</field>
</record>
Avatar
Zrušit
Nejlepší odpověď

Please check for typos first ("aTTTributes"). You should see that in the logs.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 22
10428
4
úno 25
2374
1
srp 24
1991
2
lis 24
3179
3
říj 23
14708