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
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
2
返信
6500
ビュー
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"
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
3
2月 24
|
1931 | ||
|
0
4月 24
|
30 | ||
|
2
7月 18
|
14546 | ||
|
1
6月 25
|
2461 | ||
|
0
3月 25
|
450 |