Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
11355 Lượt xem

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>
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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',
Ảnh đại diện
Huỷ bỏ

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

Tác giả

Exactly

Câu trả lời hay nhất

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

may be your menu not visible because of that.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 23
1892
0
thg 11 21
1570
1
thg 9 21
4128
0
thg 5 21
2453
2
thg 10 23
4549