Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
17349 Widoki
<button name="toggle_start" type="object" class="oe_stat_button">
<field name="help_button" widget="boolean_button"
options='{"terminology": {
"string_true": "ACTIVE",
"hover_true": "PAUSE",
"string_false": "HELP",
"hover_false": "FINISH"
}}'/>
</button>
is not working in odoo 13. instead of these terminologies it shows a boolean button.


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

There is no need to define the archive/active button in the view in odoo13, just add a Boolean field with name active in the model, then the Archive button will be shown inside the Action drop down button in the top of the form.

See this: web: Remove 'toggle_active' stat buttons + introduce ribbons #34496

Thanks

Awatar
Odrzuć
Autor

Thanks Niyaskka

Powiązane posty Odpowiedzi Widoki Czynność
0
sty 23
1547
1
cze 15
5106
1
sty 25
1035
0
sty 22
4527
1
mar 25
1219