Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
9543 Visualizações

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!
Avatar
Cancelar
Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
ago. 25
606
0
ago. 25
344
0
jul. 25
1402
0
jul. 25
3
0
jul. 25
6