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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
lug 21
|
2844 | ||
|
4
gen 18
|
3451 | ||
|
0
dic 23
|
1323 | ||
|
1
mag 23
|
2849 | ||
|
1
ago 21
|
6487 |