<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>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
1
Respondre
17325
Vistes
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
0
de gen. 23
|
1529 | ||
|
1
de juny 15
|
5091 | ||
|
1
de gen. 25
|
1025 | ||
|
0
de gen. 22
|
4506 | ||
|
1
de març 25
|
1201 |