跳至内容
菜单
此问题已终结
728 查看

I get the following warning:

2024-11-25 16:33:42,295 1 WARNING plain odoo.modules.loading: The models ['ratio.mixin'] have no access rules in module tools_image, consider adding some, like:

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink

tools_image.access_ratio_mixin,access_ratio_mixin,tools_image.model_ratio_mixin,base.group_user,1,0,0,0


But as I understand it If I use the mixin, Add it to model B with 

_name = "MODELB"

_inherit = ["MODELB", "mixin"]

The security file of model B is relevant. Why do I need a security file for the mixin? Or where is my thinking off.


形象
丢弃
相关帖文 回复 查看 活动
0
12月 24
1448
1
3月 24
2487
1
6月 23
12500
0
1月 23
3176
2
9月 20
4181