Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
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'])]}"
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
dic 23
|
1349 | ||
|
1
set 19
|
6524 | ||
|
0
dic 24
|
1207 | ||
|
1
mag 23
|
10021 | ||
|
3
lug 17
|
7117 |