Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
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'])]}"
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
12月 23
|
1417 | ||
|
1
9月 19
|
6630 | ||
|
0
12月 24
|
1306 | ||
|
1
5月 23
|
10108 | ||
|
3
7月 17
|
7198 |