Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3250 Переглядів

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
2783
4
січ. 18
3383
0
груд. 23
1276
1
трав. 23
2777
1
серп. 21
6422