Hi,good day!.
I just want to ask how i can automatically change the string of a button after i clicked it on form view.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,good day!.
I just want to ask how i can automatically change the string of a button after i clicked it on form view.
Am not sure if that is possible.
One quick hack.. we could achieve this with an extra boolean field (say B).
You could have 2 buttons(say 1&2) in the view pointing to the same function but with different string value in xml. Once clicked, change that boolean field to True.
so in view, you could write like
1--> visible when B is False
2--> visible when B is True
Until you find proper solution, you could use like this.
Yes, i did that already. Thanks🙂
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
2
mar. 17
|
17076 | |||
|
1
nov. 24
|
21073 | |||
|
How to install odoo 10 in ubuntu 20.04?
Resolvido
|
1
set. 23
|
3901 | ||
|
3
mai. 23
|
6474 | |||
|
7
abr. 23
|
49857 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.