Skip to content

Commit

Permalink
[FIX] base: allow languages with iso code of size 6
Browse files Browse the repository at this point in the history
Some languages like kabyle ou filipino have the iso code kab_DZ and fil_PH
It was not possible to import it.
  • Loading branch information
mart-e committed Feb 21, 2019
1 parent 10db0a5 commit 19ad878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odoo/addons/base/wizard/base_import_language.py
Expand Up @@ -17,7 +17,7 @@ class BaseLanguageImport(models.TransientModel):
_description = "Language Import"

name = fields.Char('Language Name', required=True)
code = fields.Char('ISO Code', size=5, required=True,
code = fields.Char('ISO Code', size=6, required=True,
help="ISO Language and Country code, e.g. en_US")
data = fields.Binary('File', required=True)
filename = fields.Char('File Name', required=True)
Expand Down

0 comments on commit 19ad878

Please sign in to comment.