i want to add this condition in a button
invisible="['|', ('state', '!=', 'draft'), ('initial_invoice', '=', True)]"
It is not working for odoo17, How to make the or condition work ???
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
2
Antwoorden
7609
Weergaven
Try like this.
invisible="state != 'draft' or initial_invoice = True"
its work for me,thank you
You can try this. -> invisible="condition 1 or condition 2"
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
3
feb. 24
|
2320 | ||
|
0
apr. 24
|
30 | ||
|
2
jul. 18
|
14969 | ||
Always invisible fields on V18
Opgelost
|
|
1
jun. 25
|
3362 | |
|
0
mrt. 25
|
795 |