<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>
Această întrebare a fost marcată
1
Răspunde
18393
Vizualizări
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
Thanks Niyaskka
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
0
ian. 23
|
2339 | ||
|
|
1
iun. 15
|
6124 | ||
|
|
1
ian. 25
|
2354 | ||
|
|
0
ian. 22
|
5612 | ||
|
|
1
mar. 25
|
3189 |