تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
6206 أدوات العرض

I'm new to Odoo 11, at my job we are migrating from OpenERP7 to Odoo 11.

We are currently migrating some custom modules and they're working fine, but to add a register or run a simple logger function I have to access to the admin account.

Does this have to do with the security files? Is there another file needed aside from the regular csv file?

This is an example from one of the custom modules.


ir.model.access.csv
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_sucursales_sucursales,sucursales.sucursales,model_sucursales_sucursales,,1,0,0,0
access_paqueterias_paqueterias,paqueterias.paqueterias,model_paqueterias_paqueterias,,1,0,0,0
access_suc_paq_rel_suc_paq_rel,suc_paq_rel.suc_paq_rel,model_suc_paq_rel_suc_paq_rel,,1,0,0,0
الصورة الرمزية
إهمال
الكاتب

Thanks! This helped a lot. Now that made me have another question.

Is it possible to find the id for a group already created on Odoo? To use it in the xml security file for the custom module. Or is it necessary to have a group for each custom module?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 24
1292
1
سبتمبر 19
6222
2
نوفمبر 18
4187
3
يوليو 18
2981
0
مايو 22
3264