Skip to Content
मेन्यू
This question has been flagged
1 Reply
3299 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
जुल॰ 21
2868
4
जन॰ 18
3473
0
दिस॰ 23
1361
1
मई 23
2875
1
अग॰ 21
6517