From 95208e6698cfb1f2de7435470375419082f90183 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 22 Dec 2008 18:16:16 +0100 Subject: [PATCH] [FIX] close cursor bzr revid: christophe@cobalt-20081222171616-eq35pjic1i4s3rz7 --- addons/mrp/wizard/wizard_schedulers_all.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mrp/wizard/wizard_schedulers_all.py b/addons/mrp/wizard/wizard_schedulers_all.py index d2ca06c5e53..c79361841a4 100644 --- a/addons/mrp/wizard/wizard_schedulers_all.py +++ b/addons/mrp/wizard/wizard_schedulers_all.py @@ -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):