diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-07-07 14:07:47 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-07-07 14:07:47 +0200 |
| commit | aef774884597342e4d716d606d2ca3b2d239fb4e (patch) | |
| tree | 6ff8d219968b1dbde0bc9006542a6559dcb291f4 /odoo/workflow/workitem.py | |
| parent | c1e154bee1fb49a102250048204b4e01c3def313 (diff) | |
| parent | 96fa86779b15ada2ae5556e967cc47a1862b0bfa (diff) | |
[MERGE] forward port branch saas-11 up to 96fa86779b1
Diffstat (limited to 'odoo/workflow/workitem.py')
| -rw-r--r-- | odoo/workflow/workitem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/workflow/workitem.py b/odoo/workflow/workitem.py index cfa07bc8b5d..c41dd2e6501 100644 --- a/odoo/workflow/workitem.py +++ b/odoo/workflow/workitem.py @@ -224,7 +224,7 @@ class WorkflowItem(object): transitions.append((transition['id'], self.workitem['inst_id'])) if test and transitions: - cr.executemany('insert into wkf_witm_trans (trans_id,inst_id) values (%s,%s)', transitions) + cr.executemany('insert into wkf_witm_trans (trans_id,inst_id) values (%s,%s) except (select trans_id,inst_id from wkf_witm_trans)', transitions) cr.execute('delete from wkf_workitem where id=%s', (self.workitem['id'],)) for t in transitions: self._join_test(t[0], t[1], stack) |
