From 3de35d4f510343ea3c53d00dd715e19f450f13ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 12 May 2009 12:41:34 +0000 Subject: [PATCH] use transcation module git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26928 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/InteractionWorkflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/InteractionWorkflow.py b/product/ERP5/InteractionWorkflow.py index 7350e2fd35..1c5ae4ee22 100644 --- a/product/ERP5/InteractionWorkflow.py +++ b/product/ERP5/InteractionWorkflow.py @@ -16,6 +16,7 @@ # ############################################################################## +import transaction import Globals import App from types import StringTypes @@ -302,7 +303,6 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject): script(sci) # May throw an exception # Execute Before Commit - transaction = get_transaction() for script_name in tdef.before_commit_script_name: script = self.scripts[script_name] transaction.beforeCommitHook(script, sci) -- 2.30.9