Přejít na obsah
Menu
This question has been flagged
1 Odpovědět
3232 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 21
2775
4
led 18
3356
0
pro 23
1260
1
kvě 23
2770
1
srp 21
6390