跳至内容
菜单
此问题已终结
2 回复
11293 查看

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>
形象
丢弃
编写者 最佳答案

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',
形象
丢弃

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

编写者

Exactly

最佳答案

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

may be your menu not visible because of that.

形象
丢弃
相关帖文 回复 查看 活动
1
8月 23
1852
0
11月 21
1525
1
9月 21
4072
0
5月 21
2394
2
10月 23
4456