how to hide a button when you pressed it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
4647
Lượt xem
There are ways to do it. You can't do it directly with a function or something like that.
- If your button change the state of the record just write invisible when state=something
- If you are going to so something in other field with your button you can just make it invisible when that field is filled
- Or you can add an invisible bool field. The return of your button can be that boolean value: True. So if that boolean field is true you can add that attribute to your button.
There are tons of ways it depends waht are you doing with your button.
thAnks for your answer @grover.. :D
You're welcome.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 9 25
|
787 | ||
|
2
thg 9 25
|
1583 | ||
|
1
thg 7 25
|
1219 | ||
|
2
thg 6 25
|
3613 | ||
|
3
thg 5 25
|
3516 |