You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to create a new action server using admin user,an error message appears each you try it, next is the last 10 lines of error message:
File "/home/odoo/instance/odoo/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/odoo/instance/odoo/odoo/addons/base/models/ir_actions.py", line 49, in create
res = super(IrActions, self).create(vals_list)
File "", line 2, in create
File "/home/odoo/instance/odoo/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/home/odoo/instance/extra_addons/role-policy/role_policy/models/role_policy_menu_action_common.py", line 28, in create
vals["groups_id"].extend([(4, x.id) for x in roles.mapped("group_id")])
KeyError: 'groups_id'
To Reproduce
Affected versions: v13 Enterprise
Steps to reproduce the behavior:
(With admin user) go to Settings -> Technical -> Server Actions.
Click on Create button.
Fill mandatory fields and save.
Expected behavior
Create new server actions.
The text was updated successfully, but these errors were encountered:
Module
role_policy
##Model
role.policy.menu.action.common
Describe the bug
There is no way to create a new action server using admin user,an error message appears each you try it, next is the last 10 lines of error message:
File "/home/odoo/instance/odoo/odoo/api.py", line 338, in _model_create_multi
return create(self, [arg])
File "/home/odoo/instance/odoo/odoo/addons/base/models/ir_actions.py", line 49, in create
res = super(IrActions, self).create(vals_list)
File "", line 2, in create
File "/home/odoo/instance/odoo/odoo/api.py", line 339, in _model_create_multi
return create(self, arg)
File "/home/odoo/instance/extra_addons/role-policy/role_policy/models/role_policy_menu_action_common.py", line 28, in create
vals["groups_id"].extend([(4, x.id) for x in roles.mapped("group_id")])
KeyError: 'groups_id'
To Reproduce
Affected versions: v13 Enterprise
Steps to reproduce the behavior:
Expected behavior
Create new server actions.
The text was updated successfully, but these errors were encountered: