Skip to Content
Menu
This question has been flagged
1 Reply
3256 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
1
Jul 21
2804
4
Jan 18
3406
0
Dec 23
1292
1
May 23
2792
1
Aug 21
6441