Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
6833 มุมมอง

I have installed the eCommerce app and set it up. When I am logged in, I can view it and use it. But when I use a different browser or incognito tab, I get a Internal Server Error.

The logs show this error:

File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_model.py", line 1201, in check
    raise AccessError(msg % msg_params)
odoo.exceptions.AccessError: ('Sorry, you are not allowed to access this document. Please contact your system administrator if you think this is an error.\n\n(Document model: website)', None)

I have since been logged out and cannot get back in to Odoo at all.


I am using Odoo 11 on Ubuntu 16.04.

อวตาร
ละทิ้ง
ผู้เขียน

I have odoo installed using apt-get and update regularly from the nightly repository.

Please read and follow my answer. This has nothing to do with your Odoo installation, but most probably you have screwed up your website module.

By updating the module from command line (when you do not have any GUI access anymore) you set it back to standard.

ผู้เขียน

Hi, I have tried updating modules using the odoo command, (odoo.py is not on my system) and it hasn't worked. I then backed up my database, and created a new virtual machine and installed odoo from scratch using apt-get. Once it was running, I restored my database, and got the same error. The log file shows odoo.addons.base.ir.ir_model: Access Denied by ACLs for operation: read, uid: 4, model: website

and the final error is same as above.

So I assume the issue is in the database. Could you tell me where to look?

คำตอบที่ดีที่สุด

Try to update the website module from the command line. You may check the docs about the Odoo CLI: https://www.odoo.com/documentation/11.0/reference/cmdline.html

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Hi, the reason I am sharing my install is because there is no odoo.py on my system. 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
4281
5
ส.ค. 25
9874
Carrusel en sitios web แก้ไขแล้ว
2
ก.ค. 25
992
How to launch my website แก้ไขแล้ว
4
มิ.ย. 25
1120
1
มิ.ย. 25
1442