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:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
naked domain set up
Résolu
|
|
3
juil. 25
|
4450 | |
|
0
mai 25
|
940 | ||
|
2
mars 24
|
2187 | ||
|
0
janv. 23
|
1772 | ||
|
1
nov. 22
|
3233 |