Skip to Content
Meniu
Această întrebare a fost marcată
1 Răspunde
3239 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 21
2780
4
ian. 18
3374
0
dec. 23
1270
1
mai 23
2775
1
aug. 21
6399