diff --git a/doc/modules.rst b/doc/modules.rst
index 5dd8871115..53e60badf0 100644
--- a/doc/modules.rst
+++ b/doc/modules.rst
@@ -174,3 +174,5 @@ Here is the list of the tags:
* ``action``: The xml id of the action linked to the menu.
* ``groups``: A list of xml id of group, that have access to the menu, separated by commas.
+
+ * ``active``: A boolean telling if the menu is active or not.
diff --git a/trytond/ir/sequence.xml b/trytond/ir/sequence.xml
index 2c8e8b9db5..6b4f9ea033 100644
--- a/trytond/ir/sequence.xml
+++ b/trytond/ir/sequence.xml
@@ -28,7 +28,7 @@ this repository contains the full copyright notices and license terms. -->
-
diff --git a/trytond/osv/orm.py b/trytond/osv/orm.py
index 8c69bb0126..3d125007fc 100644
--- a/trytond/osv/orm.py
+++ b/trytond/osv/orm.py
@@ -2466,7 +2466,7 @@ class ORM(object):
for arg in args:
if arg[1] not in OPERATORS:
raise Exception('ValidateError', 'Argument "%s" not supported' \
- % args[i][1])
+ % arg[1])
i = 0
joins = []
while i < len(args):
diff --git a/trytond/tools/convert.py b/trytond/tools/convert.py
index ed9262526e..5be1ae9200 100644
--- a/trytond/tools/convert.py
+++ b/trytond/tools/convert.py
@@ -53,6 +53,8 @@ class MenuitemTagHandler:
if attributes.get(attr):
values[attr] = attributes.get(attr)
+ if attributes.get('active'):
+ values['active'] = bool(eval(attributes['active']))
if values.get('parent'):
values['parent'] = self.mh.get_id(values['parent'])
@@ -576,8 +578,6 @@ class TrytondXmlHandler(sax.handler.ContentHandler):
# Fix for migration to unicode
old_values[key] = old_values[key].decode('utf-8')
- # Check if values for this record has been modified in the
- # db, if not it's ok to overwrite them.
if model != db_model:
raise Exception("This record try to overwrite " \
"data with the wrong model: %s (module: %s)" % (fs_id, module))