diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-05-04 16:48:31 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-05-04 16:48:31 +0200 |
| commit | 514bdcb0f1c084e87f6f809c4e893468836cce0c (patch) | |
| tree | 5d8de2971bdbeb871bd358183dd5ea650efc1514 /odoo/tools/yaml_import.py | |
| parent | fc06646cf9164e23d8bb6c31d9200e205b903c64 (diff) | |
[FIX] tools: unnecessary error logging
The limit of 64 characters on the XMLID has been removed a long time
ago. This error is therefore not necessary anymore.
Diffstat (limited to 'odoo/tools/yaml_import.py')
| -rw-r--r-- | odoo/tools/yaml_import.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/odoo/tools/yaml_import.py b/odoo/tools/yaml_import.py index 93394a48f67..ced0738647a 100644 --- a/odoo/tools/yaml_import.py +++ b/odoo/tools/yaml_import.py @@ -139,8 +139,6 @@ class YamlInterpreter(object): if module != self.module: module_count = self.env['ir.module.module'].search_count([('name', '=', module), ('state', '=', 'installed')]) assert module_count == 1, 'The ID "%s" refers to an uninstalled module.' % (xml_id,) - if len(id) > 64: # TODO where does 64 come from (DB is 128)? should be a constant or loaded form DB - _logger.error('id: %s is to long (max: 64)', id) def get_id(self, xml_id): if xml_id is False or xml_id is None: |
