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

I receive the following error when I try to install my new application 

Erreur de serveur Odoo

RPC_ERROR

Odoo Server Error

Occured on localhost:8069 on model ir.module.module and id 9 on 2025-02-26 14:53:09 GMT


contents of the file below

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

access_payment_provider,access_payment_provider,model_payment_provider,,1,1,1,1

الصورة الرمزية
إهمال
أفضل إجابة

Update ir.model.access.csv:


id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_payment_provider,access_payment_provider,your_module.model_payment_provider,base.group_user,1,1,1,1

Make sure your model payment.provider exists in models.py.

Restart Odoo and upgrade your module.

الصورة الرمزية
إهمال
أفضل إجابة

Your csv doesn't have proper content. I'd recommend you open it with LibreCalc to make sure all data are correct and not a comma or sometime space are redundant.
In your case, at least the group_id is issming, maybe you need a base.group_user or something there, not an empty value.

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

|-----------------------|-------------------------|----------------------|-------------|-----------|-------------|-------------|-------------|

| access_payment_provider | access_payment_provider | model_payment_provider |             | 1         | 1           | 1           | 1           |


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مايو 25
222
1
مايو 25
423
1
أبريل 25
817
1
مايو 25
429
2
أبريل 25
522