跳至內容
選單
此問題已被標幟
2 回覆
11315 瀏覽次數

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
1857
0
11月 21
1532
1
9月 21
4090
0
5月 21
2406
2
10月 23
4467