Cédric Krier e6fe291bde Prevent to get user_id from request without view_args
If user_id is accessed before view_args has been setup, we should not cache
`None` as value but instead raise an exception.
The `user_id` may be accessed before the mapping if the request is logged
because the representation of the request used the `rpc_method` which needs to
parse the request data. But since 1923117e935d parsing compressed content is
only allowed for request with `user_id`.
So we can no more include the `rpc_method` is the request has not yet been
mapped and so it has a `view_args`.

Closes #13203
(grafted from 0630029c1d5a0a2c7bd45086957f2e0fbed4c427)

--HG--
branch : 6.0
2024-04-18 19:28:04 +02:00
2024-03-04 00:52:20 +01:00
2024-03-04 00:52:20 +01:00
2024-03-04 00:52:20 +01:00
2024-03-04 00:52:20 +01:00
2022-12-17 17:14:49 +01:00
2024-03-04 00:52:20 +01:00
2024-03-26 00:10:10 +01:00
2022-12-17 17:14:49 +01:00
2024-04-17 12:47:06 +02:00
2022-12-17 17:14:49 +01:00

This repository contains all the packages of Tryton.

To have symlinks for modules created automatically on Mercurial update, add
the following line to the hooks section of your .hg/hgrc:

    update.modules = .hooks/link_modules

To automatically generate requirements files on Mercurial update, add
the following line to the hooks section of your .hg/hgrc:

    update.requirements = .hooks/update_requirements

.. warning::

    The process of updating requirements files may take some time

Then you can install the required dependencies with:

    pip install -r requirements.txt

And you can also install the development dependencies with:

    pip install -r requirements-dev.txt
S
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
Readme
389 MiB
Languages
Python 88.1%
JavaScript 11%
Less 0.5%
HTML 0.2%
NSIS 0.1%