Siirry sisältöön
Menu
Tämä kysymys on merkitty
1 Vastaa
3249 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 21
2783
4
tammik. 18
3383
0
jouluk. 23
1275
1
toukok. 23
2777
1
elok. 21
6422