Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
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'])]}"
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
dec. 23
|
1349 | ||
|
1
sep. 19
|
6521 | ||
|
0
dec. 24
|
1206 | ||
|
1
mei 23
|
10019 | ||
|
3
jul. 17
|
7115 |