Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
17333 มุมมอง
<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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ม.ค. 23
1539
1
มิ.ย. 15
5095
1
ม.ค. 25
1029
0
ม.ค. 22
4521
1
มี.ค. 25
1208