[FIX] Certificate or None

bzr revid: stephane@tinyerp.com-20090107143317-8huptlakzzav0v2d
This commit is contained in:
Stephane Wirtel
2009-01-07 15:33:17 +01:00
parent 0391fd7dc0
commit 91e2f84261
+3 -3
View File
@@ -332,7 +332,7 @@ class module(osv.osv):
'author': terp.get('author', 'Unknown'),
'website': terp.get('website', ''),
'license': terp.get('license', 'GPL-2'),
'certificate': terp.get('certificate'),
'certificate': terp.get('certificate') or None,
})
cr.execute('DELETE FROM ir_module_module_dependency WHERE module_id = %s', (id,))
self._update_dependencies(cr, uid, ids[0], terp.get('depends', []))
@@ -352,7 +352,7 @@ class module(osv.osv):
'author': terp.get('author', 'Unknown'),
'website': terp.get('website', ''),
'license': terp.get('license', 'GPL-2'),
'certificate': terp.get('certificate'),
'certificate': terp.get('certificate') or None,
})
res[1] += 1
self._update_dependencies(cr, uid, id, terp.get('depends', []))
@@ -433,7 +433,7 @@ class module(osv.osv):
'author': terp.get('author', 'Unknown'),
'website': terp.get('website', ''),
'license': terp.get('license', 'GPL-2'),
'certificate': terp.get('certificate'),
'certificate': terp.get('certificate') or None,
})
cr.execute('DELETE FROM ir_module_module_dependency ' \
'WHERE module_id = %s', (mod.id,))