Skip to content
Snippets Groups Projects
Commit c9f93eb6 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] tools: remove max language length constraint


There is no reason for this constraint to be. Languages with a code
longer than 5 do exists in standard, (e.g. ar_001, sr@latin)

Introduced at 004a0b99

Fixes odoo/odoo#52558

closes odoo/odoo#52569

X-original-commit: 54340487
Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 308b1d9b
Branches
Tags
No related merge requests found
......@@ -515,10 +515,6 @@ class configmanager(object):
if opt.pg_path:
self.options['pg_path'] = opt.pg_path
if self.options.get('language', False):
if len(self.options['language']) > 5:
raise Exception('ERROR: The Lang name must take max 5 chars, Eg: -lfr_BE')
self.options['test_enable'] = bool(self.options['test_tags'])
if opt.save:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment