Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
11362 Näkymät

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
Hylkää
Tekijä Paras vastaus

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
Hylkää

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

Tekijä

Exactly

Paras vastaus

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

may be your menu not visible because of that.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
elok. 23
1895
0
marrask. 21
1582
1
syysk. 21
4140
0
toukok. 21
2457
2
lokak. 23
4564