コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
17339 ビュー
<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.


アバター
破棄
最善の回答

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
1541
1
6月 15
5099
1
1月 25
1030
0
1月 22
4523
1
3月 25
1210