Files
odoo_source/addons
Martin Trigaux 85ee046b37 [IMP] *: use res.lang methods
get_installed and _lang_get_id are both ormcached and correctly check
the context

Retrieving a res.lang from a code is a frequent action that can be
achieved with _lang_get (cf previous commit).
Using _lang_get ensure the active_test in the context is correct and
is not poluted with another context propagation issue.
odoo/odoo#35490 discussion is an example of bad context propagation

closes odoo/odoo#35504

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-08-07 13:06:17 +00:00
..
2019-08-07 10:28:33 +00:00
2019-07-17 14:13:12 +02:00
2019-08-07 13:06:17 +00:00
2019-08-07 13:06:17 +00:00
2019-07-17 14:13:12 +02:00
2019-08-07 13:06:17 +00:00
2019-08-02 18:34:18 +00:00
2019-07-17 14:13:12 +02:00
2019-08-07 13:06:17 +00:00
2019-08-07 10:28:33 +00:00
2019-08-02 16:47:58 +00:00
2019-08-02 16:47:58 +00:00
2019-08-01 12:40:01 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-08-07 10:28:33 +00:00
2019-08-07 10:28:33 +00:00
2019-08-07 10:28:33 +00:00
2019-08-07 10:28:33 +00:00
2019-08-02 16:47:58 +00:00
2019-07-31 13:20:38 +00:00
2019-07-17 14:13:12 +02:00
2019-07-17 14:13:12 +02:00
2019-08-07 10:28:33 +00:00
2019-08-02 16:47:58 +00:00
2019-08-07 10:28:33 +00:00
2019-08-07 10:28:33 +00:00
2019-08-07 10:28:33 +00:00
2019-08-07 13:06:17 +00:00
2019-07-30 11:46:30 +00:00