MRP: fix dbname in _procure_confirm
bzr revid: ced-dccb67bad1c9262c36c0a288984a04d3db55e783
This commit is contained in:
parent
13247b5983
commit
7656870a93
|
@ -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 {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue