Nasreddin Boulif (bon) 156e2f1fc3 [FIX] website: get right access token for public visitor user
Current Behavior:

When we get the access token for a website visitor, we check if the
`self.env.user` is a public user. If it is, we return his id.

Expected behavior:

We should check the `request.env.user` instead since the visitor can
only be created through the frontend.

opw-2956186

Part-of: odoo/odoo#99181
2022-09-02 19:13:53 +02:00
2022-08-30 08:18:53 +02:00
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%