تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3310 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 21
2870
4
يناير 18
3488
0
ديسمبر 23
1384
1
مايو 23
2891
1
أغسطس 21
6544