summaryrefslogtreecommitdiff
path: root/openerp/modules/db.py
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2011-12-06 12:15:31 +0100
committerFabien Pinckaers <fp@tinyerp.com>2011-12-06 12:15:31 +0100
commitf7d4c3384d57e21739eeea377aa96a628e0f2e40 (patch)
tree88d1c0e07f636da566b06e573345724882be96c6 /openerp/modules/db.py
parent1719b9408b5eb93cba3fe82920e6fb39988197c2 (diff)
[IMP] Core features on modules, better views for modules
bzr revid: fp@tinyerp.com-20111206111531-qdkajwatqzb0dz45
Diffstat (limited to 'openerp/modules/db.py')
-rw-r--r--openerp/modules/db.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openerp/modules/db.py b/openerp/modules/db.py
index 692bf9732f1..4f8032716a9 100644
--- a/openerp/modules/db.py
+++ b/openerp/modules/db.py
@@ -75,14 +75,14 @@ def initialize(cr):
cr.execute('INSERT INTO ir_module_module \
(author, website, name, shortdesc, description, \
- category_id, state, certificate, web, license, complexity) \
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s) RETURNING id', (
+ category_id, state, certificate, web, license, complexity, core, icon) \
+ VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s) RETURNING id', (
info['author'],
info['website'], i, info['name'],
info['description'], category_id, state, info['certificate'],
info['web'],
info['license'],
- info['complexity']))
+ info['complexity'], info['core'], info['icon']))
id = cr.fetchone()[0]
cr.execute('INSERT INTO ir_model_data \
(name,model,module, res_id, noupdate) VALUES (%s,%s,%s,%s,%s)', (