Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
9799 มุมมอง

Hello guys,

I'm new using Odoo 13 and I'm struggling to add action in menu action.

With the code bellow I added action Activate, but I couldn't figure out how to connect this action with my method. Please help.

<act_window id="toggle_c_active"
name="Activate"
binding_model="clients.clients"
res_model='clients.clients'
view_mode="form"
/>

Best regards!
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Can you see this video explaining the same, adding new action to action button: Add New Action to Action Button in Odoo

And for adding the same from the user interface using server action see: Add Contextual Action Using Server Action To Ease Your Work In Odoo


Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 25
532
How to prevent auto save functionality แก้ไขแล้ว
2
ส.ค. 25
665
1
ก.ย. 25
598
1
ก.ย. 25
598
0
ส.ค. 25
499