diff options
| author | Xavier Morel <xmo@openerp.com> | 2014-01-20 14:53:33 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2014-01-20 14:53:33 +0100 |
| commit | eebda715bbdea126d18655db1375a6ea148a8e71 (patch) | |
| tree | fc48616f8e8b49c8390782194a68e84909cf77a5 | |
| parent | 6a4ea0f9a4ecab0e1164151fe5588cbdd5cd1658 (diff) | |
[IMP] py26 compatibility
bzr revid: xmo@openerp.com-20140120135333-7b7qccr4quh2h1um
| -rw-r--r-- | openerp/workflow/instance.py | 2 |
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 |
