diff options
| author | nie <nie@odoo.com> | 2020-10-16 15:09:38 +0000 |
|---|---|---|
| committer | nie <nie@odoo.com> | 2020-10-19 13:08:20 +0000 |
| commit | c8c828ee14533176cfef5b2e7d29344286af74be (patch) | |
| tree | bae953d321265d6c1c3a33fd866f756a81ef4514 /odoo/addons/base/i18n | |
| parent | 679ebc3381179f6b18364c6f2b4d4f7f34274698 (diff) | |
[FIX] base: Contacts still have deactivated language
Steps to reproduce the bug:
- Install web_studio, contacts
- Activate language English (UK)
- Switch all users' language to UK
- Deactivate language English (US)
- Via Studio, add a related field to a contact: Self > Language
Bug:
Traceback: contacts still have en_US as language and it's deactivated.
opw:2350362
closes odoo/odoo#60276
X-original-commit: 47ec3585f50f030025b39031807be50a9299bcd6
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'odoo/addons/base/i18n')
| -rw-r--r-- | odoo/addons/base/i18n/base.pot | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odoo/addons/base/i18n/base.pot b/odoo/addons/base/i18n/base.pot index c3819e0cb5a..2758c317b4d 100644 --- a/odoo/addons/base/i18n/base.pot +++ b/odoo/addons/base/i18n/base.pot @@ -9077,6 +9077,12 @@ msgstr "" #. module: base #: code:addons/base/models/res_lang.py:0 #, python-format +msgid "Cannot deactivate a language that is currently used by contacts." +msgstr "" + +#. module: base +#: code:addons/base/models/res_lang.py:0 +#, python-format msgid "Cannot deactivate a language that is currently used by users." msgstr "" |
