Files
odoo_source/odoo
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 13:06:17 +00:00
…
2019-08-07 10:28:33 +00:00
2019-08-07 10:28:33 +00:00
2019-07-25 12:09:27 +00:00
2019-08-07 10:28:33 +00: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-06-11 22:02:16 +02:00
2019-07-03 11:16:24 +00:00