Odoo 도움말


7 응답
Marina Boules Egypt
19. 4. 23. 오전 3:26

Because website user (user_id) is public user that created as user on users list. 

So if you removed public user from users list, website will be stopped and give this error.

Paul Catinean Romania
18. 1. 3. 오후 1:11

After quite a bit of investigation I've traced the issue to this line: https://github.com/odoo/odoo/blob/10.0/addons/website/models/ir_http.py#L65

Apparently the website object has a non-required field user_id which should point to the default Public User. For some undiscovered reason that field can set to an empty value and then the aforementioned line sets the uid on the request to False.

One would have to update the user_id value in the database with the daabase id of the portal user to restore normal function, in the meantime I will also make a PR to check the value of user_id on the website or make user_id required to avoid this in the future.

Hope this helps.


Here is the PR in question: https://github.com/odoo/odoo/pull/21997

David Nguyen Vietnam
17. 6. 11. 오전 11:23

Did anyone have a solution for this?

Jurre Claassen Netherlands
16. 10. 28. 오전 9:58

Just tried repairing the database with the -d parameter, still same error. Thanks for the suggestion.

Can't reply to answers yet due to lack of karma

保定-粉刷匠 중국
16. 10. 28. 오전 9:28

You can update you database,using parameter '-D YourDatabaseName -U all‘ when you start odoo.

Try this.

Keep Informed
1 팔로워
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now