remove warning
authorAntony Lesuisse <al@openerp.com>
Mon, 30 Jan 2012 21:04:29 +0000 (22:04 +0100)
committerAntony Lesuisse <al@openerp.com>
Mon, 30 Jan 2012 21:04:29 +0000 (22:04 +0100)
bzr revid: al@openerp.com-20120130210429-zw7aziwhkhi0yhqv

openerp/modules/module.py

index 7f59f15..2d8ce0a 100644 (file)
@@ -321,6 +321,7 @@ def load_information_from_description_file(module):
             info = {
                 'application': False,
                 'author': '',
+                'auto_install': False,
                 'category': 'Uncategorized',
                 'certificate': None,
                 'complexity': 'normal',
@@ -345,9 +346,7 @@ def load_information_from_description_file(module):
                 info.update(eval(terp_f.read()))
 
             if 'active' in info:
-                _logger.warning('The module `%s` uses the deprecated entry '
-                    '`active` in its manifest file. It should use the entry '
-                    '`auto_install`.', module)
+                # 'active' has been renamed 'auto_install'
                 info['auto_install'] = info['active']
 
             return info