summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2019-06-20 07:55:28 +0000
committerMartin Trigaux <mat@odoo.com>2019-06-20 08:38:47 +0000
commitab7ab7ebbb094c3fcce416a6ee26da6451280084 (patch)
treec56935b231ecba284287eb5f885d46c84156c176 /addons/web/static/src/xml/base.xml
parent09a9c48180216b70233af16e5b1a6d375ceec69a (diff)
[FIX] web,http_routing: correctly invalidate cache translation
cache_hashes was introduced at 8a28cc22fd242f to reduce the number of reload The cache is correctly reseted when the translations content changed but did not contain all the translation-related parameters that are, however, stored in the session_info This commit fixes two bugs: Language parameters invalidation: 1. Access the webclient in a specific language 2. Modify the language parameters (e.g. thousands separator) 3. Refresh the page --> webclient is still using old language parameters (from cache) No translation flag after installing a language: 1. Load a database in English in mono-language 2. Load a second language 3. Access a record with a translated field --> translation button not present on translated field (multi_lang is still false in cache value) To fix it, this commit adds all the information that are returns by the /web/webclient/translations call to make sure the hash represent the reality closes odoo/odoo#34266 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions