Skip to Content
Menu
This question has been flagged
1 Odgovori
3236 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
2778
4
jan. 18
3358
0
dec. 23
1264
1
maj 23
2772
1
avg. 21
6399