Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
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'])]}"
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
|
1
dec. 23
|
1349 | ||
|
1
sep. 19
|
6521 | ||
|
0
dec. 24
|
1207 | ||
|
1
maj 23
|
10019 | ||
|
3
jul. 17
|
7116 |