<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>
Dette spørgsmål er blevet anmeldt
1
Svar
18406
Visninger
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
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
0
jan. 23
|
2343 | ||
|
|
1
jun. 15
|
6125 | ||
|
|
1
jan. 25
|
2357 | ||
|
|
0
jan. 22
|
5615 | ||
|
|
1
mar. 25
|
3196 |