Romain Derie 92feb6a67f [FIX] website: ensure request.env and env.uid are set
Some cases might lead to undefined `env` on request or undefined `uid`
on request.env:
1. Mobile app: no uid is set on the jsonRequest env
2. Multi db: _env is None on request, and request.env unbound

1. Was checked with [1]
2. Was checked with [2] but by doing so, it actually broke the check
   done for 1.

[1]: https://github.com/odoo/odoo/commit/245ef4b0fddc7e5da3ebe841438c2d2902933f14
[2]: https://github.com/odoo/odoo/commit/3a7033463ea98def2e3fb85333c4f00f7c7d6925

task-2867045

Part-of: odoo/odoo#87857
2022-06-07 16:31:19 +02:00
2022-05-30 16:46:04 +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%