Skip to Content
Menu
This question has been flagged
1 Odgovori
3401 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jul. 21
2978
4
jan. 18
3691
0
dec. 23
1528
1
maj 23
3018
1
avg. 21
6691