diff options
| author | Stephane Wirtel <stephane@tinyerp.com> | 2009-05-19 14:09:41 +0200 |
|---|---|---|
| committer | Stephane Wirtel <stephane@tinyerp.com> | 2009-05-19 14:09:41 +0200 |
| commit | ca6e1c3451e3a2aed75f85039834d84dbbb749d3 (patch) | |
| tree | bb6b5fb3f9c457e3dce3566e082ea6a5a6607a09 /bin/tools/misc.py | |
| parent | 0ffca84a42cf6c6e606a5d69885f0f7578593d3f (diff) | |
[FIX] Add the certificate field in the ir_module_module table
[FIX] Insert the quality certificate in the description of the module (in ir_module_module)
bzr revid: stephane@tinyerp.com-20090519120941-bp1vpj5f2dr0uh36
Diffstat (limited to 'bin/tools/misc.py')
| -rw-r--r-- | bin/tools/misc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/tools/misc.py b/bin/tools/misc.py index 8a348d3af0e..af3b74aa95d 100644 --- a/bin/tools/misc.py +++ b/bin/tools/misc.py @@ -94,11 +94,11 @@ def init_db(cr): id = cr.fetchone()[0] cr.execute('insert into ir_module_module \ (id, author, website, name, shortdesc, description, \ - category_id, state) \ - values (%s, %s, %s, %s, %s, %s, %s, %s)', ( + category_id, state, certificate) \ + values (%s, %s, %s, %s, %s, %s, %s, %s, %s)', ( id, info.get('author', ''), info.get('website', ''), i, info.get('name', False), - info.get('description', ''), p_id, state)) + info.get('description', ''), p_id, state, info.get('certificate'))) cr.execute('insert into ir_model_data \ (name,model,module, res_id) values (%s,%s,%s,%s)', ( 'module_meta_information', 'ir.module.module', i, id)) |
