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🙂
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
März 17
|
16066 | ||
|
1
Nov. 24
|
20016 | ||
|
1
Sept. 23
|
2892 | ||
|
3
Mai 23
|
5482 | ||
|
7
Apr. 23
|
48803 |