Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9627 Lượt xem

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!
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
200
1
thg 8 25
90
0
thg 8 25
124
1
thg 8 25
304
3
thg 8 25
302