From 7656870a93371f4e71ede326aaff2e17d7955eb6 Mon Sep 17 00:00:00 2001 From: ced <> Date: Tue, 13 Feb 2007 11:18:43 +0000 Subject: [PATCH] MRP: fix dbname in _procure_confirm bzr revid: ced-dccb67bad1c9262c36c0a288984a04d3db55e783 --- addons/mrp/wizard/wizard_procurement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mrp/wizard/wizard_procurement.py b/addons/mrp/wizard/wizard_procurement.py index 4832c36879a..b5cfbf534c8 100644 --- a/addons/mrp/wizard/wizard_procurement.py +++ b/addons/mrp/wizard/wizard_procurement.py @@ -55,7 +55,7 @@ parameter_fields = { def _procure_calculation(self, cr, uid, data, context): #CHECKME: I wonder if it would be a good idea to pass the cursor... # in doubt, I didn't - threaded_calculation = threading.Thread(target=_procure_confirm, args=(self, uid, data, context)) + threaded_calculation = threading.Thread(target=_procure_confirm, args=(self, cr.dbname, uid, data, context)) threaded_calculation.start() return {}