[IMP] openerp.osv.orm: add optional context in method that handles workflow signal

bzr revid: rco@openerp.com-20130213110506-kzhgtczvauy6nkhc
This commit is contained in:
Raphael Collet 2013-02-13 12:05:06 +01:00
parent c442dc824e
commit 729107b73c
1 changed files with 1 additions and 1 deletions

View File

@ -5276,7 +5276,7 @@ class BaseModel(object):
if name.startswith('signal_'):
signal_name = name[len('signal_'):]
assert signal_name
def handle_workflow_signal(cr, uid, ids):
def handle_workflow_signal(cr, uid, ids, context=None):
workflow_service = netsvc.LocalService("workflow")
res = {}
for id in ids: