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:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- प्रोजेक्ट
- MRP
This question has been flagged
2
Replies
10109
Views
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"
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
3
फ़र॰ 24
|
3217 | ||
|
|
0
अप्रैल 24
|
30 | ||
|
|
2
जुल॰ 18
|
15967 | ||
|
|
1
जून 25
|
6163 | ||
|
|
0
मार्च 25
|
1676 |