Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3262 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 21
2823
4
ม.ค. 18
3429
0
ธ.ค. 23
1307
1
พ.ค. 23
2812
1
ส.ค. 21
6460