Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

403: Forbidden For Public User Access to Shop/Product Catalog in E-commerce Frontend

Subscribe

Get notified when there's activity on this post

This question has been flagged
shoppublicfrontend403ForbiddenQWebExceptionAccessError
16698 Views
Avatar
Luke Branch

I've noticed all of the current versions of Odoo 8.0 (RC1) seem to have an access rights issue that does not permit public (ie. not signed in) users from viewing the product catalog on the frontend e-commerce module.

I've checked the logs in regards to what is going on when public visitors try to visit the 'shop' area of the website and have found the following line:

QWebException: ('AccessError', u'Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:\n- Purchases/Manager\n\t- Manufacturing/Manager\n\t- Sales/Manager\n\t- Warehouse/Manager\n\t- Contact Creation\n\t- Human Resources/Employee\n\n(Document model: product.pricelist.type)')

I am assuming due to the error message that the public user group has not been applied to this document model, however I cannot understand why this is the case. Has anyone else run into this issue and found a solution?

0
Avatar
Discard
Luke Branch
Author

This issue on Odoo's github repository seems to confirm the issue is due to the merging of the new API for 8.0: https://github.com/odoo/odoo/issues/1013

Pascal Tremblay

How could we solve this problem?

Luke Branch
Author

@Pascal, To the best of my knowledge this has been resolved in updates pushed into the 8.0 branch within a few weeks of this post. I'd recommend making a file and database backup of your odoo install before doing a git pull and then ./openerp-server --update=all -c /etc/odoo-server.conf on your Odoo install to update all modules. I believe this was an access rights issue that was resolved in the website module.

Pascal Tremblay

does « --update=all » always pull on Github? I didn't install Odoo from github. Is it a problem? Thanks

Pascal Tremblay

update is running since 1 hour now... It's long long long.... should I stop it?

Pascal Tremblay

Update is done. Problem is still there. Public user get 403 error on the front end catalog.

Pascal Tremblay

Problem solved for me. It was a bad setup in my pricelist.

Luke Branch
Author

@Pascal, Good to hear. Unfortunately update=all will not do you much good if you have not recently done an update from github or a package update (if you installed using apt-get/.deb or similar). Update all is basically the same functionality as clicking the red Upgrade button on a module in the backend GUI of Odoo. --update=all just does this for all installed modules. Therefore if you have a few modules installed it can take quite some time. Did you try to setup cost-based pricing on the default pricelist by any chance? I have also run into this issue related to setting up the default pricelist rules. I opened a github issue here: https://github.com/odoo/odoo/issues/2887 However this seems to have been resolved in recent updates, therefore if you can do an update with your setup I would recommend backing up filesystem and database and then doing an update to pull a more recent build of Odoo with these fixes implemented.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
403: Forbidden | The requested operation ("create" on "Users Log" (res.users.log)) was rejected because of the following rules
403 Forbidden AccessError Odoo13.0
Avatar
0
Mar 20
6545
How to hide this menu item on the frontend for the public user?
public user logged frontend
Avatar
Avatar
Avatar
Avatar
Avatar
5
May 23
14015
v8: website and shop on other server
v8 shop public webserver
Avatar
Avatar
1
Mar 15
4398
How to stop every automatic sale order by the public user? Solved
shop public user sale order
Avatar
Avatar
Avatar
Avatar
3
Dec 22
7814
Why public user is unable to view blogs page?(Urgent) Solved
public apache2 blog AccessError odoo12
Avatar
Avatar
2
May 21
3688
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now