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.
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
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
1
juil. 21
|
4072 | |||
|
4
janv. 18
|
5625 | |||
|
0
déc. 23
|
3464 | |||
|
1
mai 23
|
4553 | |||
|
1
août 21
|
8507 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.