Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3298 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jul 21
2868
4
Jan 18
3473
0
Des 23
1361
1
Mei 23
2875
1
Agu 21
6517