projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c22e819
)
remove warning
author
Antony Lesuisse
<al@openerp.com>
Mon, 30 Jan 2012 21:04:29 +0000
(22:04 +0100)
committer
Antony 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
patch
|
blob
|
history
diff --git
a/openerp/modules/module.py
b/openerp/modules/module.py
index
7f59f15
..
2d8ce0a
100644
(file)
--- a/
openerp/modules/module.py
+++ b/
openerp/modules/module.py
@@
-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