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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
4666
瀏覽次數
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.
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
3
10月 25
|
3160 | ||
|
2
9月 25
|
805 | ||
|
2
9月 25
|
1632 | ||
|
1
7月 25
|
1245 | ||
|
2
6月 25
|
3657 |