Skip to Content
Menú
This question has been flagged
1 Respondre
3264 Vistes

How to hide the full row from the tree view.

I can hide the field using attrs tag but I want to hide the full row of the tree view.

Avatar
Descartar
Best Answer

Hi,

You can hide rows of a tree by adding a domain on the ir.actions.act_window

<record model="ir.actions.act_window" id="id_name">


      <field name="name">name</field>


      <field name="res_model">res.model</field>


      <field name="domain">[('state', '=', 'cancel')]</field>


      <field name="view_mode">tree,form</field>


</record>


Regards

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de jul. 21
2826
4
de gen. 18
3436
0
de des. 23
1308
1
de maig 23
2819
1
d’ag. 21
6466