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
답글
7692
화면
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
|
2343 | ||
|
0
4월 24
|
30 | ||
|
2
7월 18
|
14999 | ||
|
1
6월 25
|
3505 | ||
|
0
3월 25
|
815 |