Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3282 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 21
2848
4
ene 18
3456
0
dic 23
1337
1
may 23
2857
1
ago 21
6493