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
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
1
Antworten
4644
Ansichten
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.
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
2
Sept. 25
|
787 | ||
|
2
Sept. 25
|
1583 | ||
|
1
Juli 25
|
1219 | ||
|
2
Juni 25
|
3613 | ||
|
3
Mai 25
|
3516 |