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 ???
Це запитання позначене
2
Відповіді
11532
Переглядів
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!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
|
3
лют. 24
|
4097 | ||
|
|
0
квіт. 24
|
30 | ||
|
|
2
лип. 18
|
17424 | ||
|
Always invisible fields on V18
Вирішено
|
|
1
черв. 25
|
7923 | |
|
|
0
бер. 25
|
2528 |