I need to have domian filter on selection field for example i have DATA =[('1','one'),('2','two')] and so on.... i need to display the values excluding 1 in the form view
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
11205
瀏覽次數
Hello,
I'm not sure but I think you can use something like this -> domain=[('selection_field','=','1')].
thanks for your reply, i have tried this but this is not working
I just tried this and this can't work. A selection doesn't allow a domain.
You can fix this by making a many2one field and use the selection widget. Where you can define the 'name' and 'value'. Then it's easy to use the domain
Thanks for your reply
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
3
7月 25
|
4459 | ||
|
0
5月 25
|
948 | ||
|
2
3月 24
|
2189 | ||
|
0
1月 23
|
1775 | ||
|
1
11月 22
|
3234 |