Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
725 Widoki

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.


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
gru 24
1447
1
mar 24
2483
1
cze 23
12497
0
sty 23
3172
2
wrz 20
4180