<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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
17351
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
1月 23
|
1550 | ||
|
1
6月 15
|
5108 | ||
|
1
1月 25
|
1037 | ||
|
0
1月 22
|
4529 | ||
|
1
3月 25
|
1220 |