跳至內容
選單
此問題已被標幟
739 瀏覽次數

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
1483
1
3月 24
2542
1
6月 23
12573
0
1月 23
3203
2
9月 20
4216