Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
11339 Visualizações

Hi Guys 


Please I'm trying to upgrade a module from V13.0 to V14.0 but the wizard action is not appearing in the action menu. 


I checked a similar action in a standard module and they look simila, I don't know what is the issue exactly


<record id="cancel_account_move_action" model="ir.actions.act_window">
<field name="name">Unpost Journal Entries</field>
<field name="res_model">cancel.move.wizard</field>
<field name="view_mode">form</field>
<field name="view_id" ref="cancel_account_move_form_view"/>
<field name="target">new</field>
<field name="groups_id" eval="[(6, 0, [ref('account.group_account_manager'), ref('base.group_system')])]"/>
<field name="binding_model_id" ref="account.model_account_move"/>
<field name="binding_view_types">list</field>
</record>
Avatar
Cancelar
Autor Melhor resposta

Hi Guys I found the issue

In my case it was a new wizard, and I didn't add a security file for it.

'security/ir.model.access.csv',
Avatar
Cancelar

from v14 on-wards, the access rights has to be set for transient models too

Autor

Exactly

Melhor resposta

It's necessary to give security access for the transient model from odoo 14

may be your menu not visible because of that.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
ago. 23
1877
0
nov. 21
1563
1
set. 21
4110
0
mai. 21
2441
2
out. 23
4518