Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Hi,
please try column_invisible instead of invisible
eg: attrs="{'column_invisible': [('parent.scope','in',('out_invoice')]')]]}"
Thanks !!!  
Aswini @ iWesabe
If you inherit parent view, you can use override attributes method.
For example:
<xpath expr="//field[@name='<name of field>']" position='attributes'>
<attribute name='attrs'>{'invisible': '1'}</attribute>
</xpath>
hi
you can use attrs like below:
attrs="{'invisible': [('state','not in','done')]}" or attrs="{'invisible': [('state','in',['done','cancelled'])]}"
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
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 déc. 23  | 1914 | ||
|  | 1 sept. 19  | 7334 | ||
|  | 1 sept. 25  | 875 | ||
|  | 0 déc. 24  | 2053 | ||
|  | 1 mai 23  | 10845 | 
