summaryrefslogtreecommitdiff
path: root/odoo/tools/convert.py
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2017-05-04 16:48:31 +0200
committerNicolas Martinelli <nim@odoo.com>2017-05-04 16:48:31 +0200
commit514bdcb0f1c084e87f6f809c4e893468836cce0c (patch)
tree5d8de2971bdbeb871bd358183dd5ea650efc1514 /odoo/tools/convert.py
parentfc06646cf9164e23d8bb6c31d9200e205b903c64 (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/convert.py')
-rw-r--r--odoo/tools/convert.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/odoo/tools/convert.py b/odoo/tools/convert.py
index 0d0b14ab341..284b1f783ce 100644
--- a/odoo/tools/convert.py
+++ b/odoo/tools/convert.py
@@ -250,9 +250,6 @@ form: module.record_id""" % (xml_id,)
modcnt = self.env['ir.module.module'].search_count([('name', '=', module), ('state', '=', 'installed')])
assert modcnt == 1, """The ID "%s" refers to an uninstalled module""" % (xml_id,)
- if len(id) > 64:
- _logger.error('id: %s is to long (max: 64)', id)
-
def _tag_delete(self, rec, data_node=None, mode=None):
d_model = rec.get("model")
d_search = rec.get("search",'').encode('utf-8')