Skip to content
Browse files

[FIX] base: allow languages with iso code of size 6

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 19ad878d0fc0e8c84223fa856f5b202cf727d243
Showing with 1 addition and 1 deletion.
  1. +1 −1 odoo/addons/base/wizard/
@@ -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)

0 comments on commit 19ad878

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