Skip to content
Permalink
Browse files

[IMP] base: better default for translation overwrite

Following 43d355c, same logic
Hide it but make it checked by default

closes #35819

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
  • Loading branch information...
mart-e committed Aug 19, 2019
1 parent 9b6a539 commit 30ab0d3a8915722fd9811f4c459e7fa0c8c18ebe
@@ -25,6 +25,7 @@ def _get_languages(self):
lang = fields.Selection(_get_languages, string='Language', required=True,
default=_default_language)
overwrite = fields.Boolean('Overwrite Existing Terms',
default=True,
help="If you check this box, your customized translations will be overwritten and replaced by the official ones.")
state = fields.Selection([('init', 'init'), ('done', 'done')],
string='Status', readonly=True, default='init')
@@ -10,7 +10,7 @@
<field name="state" invisible="1"/>
<group states="init">
<field name="lang"/>
<field name="overwrite"/>
<field name="overwrite" groups="base.group_no_one"/>
</group>
<group states="done" colspan="4">
<span class="o_form_label">The selected language has been successfully installed.

0 comments on commit 30ab0d3

Please sign in to comment.
You can’t perform that action at this time.