summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2019-05-22 12:02:35 +0000
committerMartin Trigaux <mat@odoo.com>2019-05-22 12:12:44 +0000
commit985953d0f8fc097440d1238d4bd94acec7561a88 (patch)
treeb58cb8eca9bdb32625af63bf5e7b5c32c7f8d35b /addons/web/static/tests/fields/basic_fields_tests.js
parentddabee78e1954764cbc2bee0af99ead63f115cb8 (diff)
[FIX] base: make user form update-proof
When recreating the auto-generated view of user base.user_groups_view (e.g. with a '-u base'), the view was generated in the language of the admin. In case the database was in a different language than English, the source arch, stored in database in arch_db field, was translated. Instead, the source must be in English and translations must change the content based on the user's language. This was introduced at 894143cb4cea as the view content was not translated. At that time, the arch field was not translatable and the xml_translate mode did not existed yet Fixes odoo/odoo#33482 closes odoo/odoo#33566 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions