How to check more than one condition in a single record rule?
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
1
Répondre
6320
Vues
AND is default in odoo,
for OR u should write as '|' in starting of condition,,
example:['|',('user_id''='',user.id),('user_id''='False)]
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é | |
---|---|---|---|---|
|
2
janv. 24
|
3266 | ||
|
0
janv. 24
|
1565 | ||
|
0
déc. 20
|
2117 | ||
|
1
sept. 19
|
4909 | ||
|
0
juin 17
|
3157 |