MRP: fix dbname in _procure_confirm

bzr revid: ced-dccb67bad1c9262c36c0a288984a04d3db55e783
This commit is contained in:
ced 2007-02-13 11:18:43 +00:00
parent 13247b5983
commit 7656870a93
1 changed files with 1 additions and 1 deletions

View File

@ -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 {}