[FIX] close cursor

bzr revid: christophe@cobalt-20081222171616-eq35pjic1i4s3rz7
This commit is contained in:
Christophe Simonis
2008-12-22 18:16:16 +01:00
parent 7fcf65d7c5
commit 95208e6698
@@ -40,6 +40,7 @@ def _procure_calculation_all(self, db_name, uid, data, context):
automatic = data['form']['automatic']
proc_obj.run_scheduler(cr, uid, automatic=automatic, use_new_cursor=cr.dbname,\
context=context)
cr.close()
return {}
def _procure_calculation(self, cr, uid, data, context):