Commit 5b663449 authored by Nicolas Delaby's avatar Nicolas Delaby

Follow new transaction API

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26943 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 48a2d7f6
No related merge requests found
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2003 Nexedi SARL and Contributors. All Rights Reserved.
......@@ -305,7 +306,7 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
# Execute Before Commit
for script_name in tdef.before_commit_script_name:
script = self.scripts[script_name]
transaction.beforeCommitHook(script, sci)
transaction.get().beforeCommitHook(script, sci)
# Execute "activity" scripts
for script_name in tdef.activate_script_name:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment