summaryrefslogtreecommitdiff
path: root/openerp/workflow/instance.py
diff options
context:
space:
mode:
Diffstat (limited to 'openerp/workflow/instance.py')
-rw-r--r--openerp/workflow/instance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/workflow/instance.py b/openerp/workflow/instance.py
index 8ae633b5ba1..fd15eee6243 100644
--- a/openerp/workflow/instance.py
+++ b/openerp/workflow/instance.py
@@ -106,7 +106,7 @@ class WorkflowInstance(object):
for cur_instance_id, cur_model_name, cur_record_id in cr.fetchall():
cur_record = Record(cur_model_name, cur_record_id)
for act_name in act_names:
- WorkflowInstance(self.session, cur_record, {'id':cur_instance_id}).validate('subflow.{}'.format(act_name[0]))
+ WorkflowInstance(self.session, cur_record, {'id':cur_instance_id}).validate('subflow.%s' % act_name[0])
return ok