Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
17327 Visualizzazioni
<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.


Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Autore

Thanks Niyaskka

Post correlati Risposte Visualizzazioni Attività
0
gen 23
1532
1
giu 15
5093
1
gen 25
1025
0
gen 22
4514
1
mar 25
1202