Commit a5dd46b8 authored by Bartek Górny's avatar Bartek Górny

Remove redundant arg from kw (otherwise no workflow transition can be executed...

Remove redundant arg from kw (otherwise no workflow transition can be executed on a contributed object)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14808 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05c39946
......@@ -79,6 +79,9 @@ translateString = context.Base_translateString\n
# clean up kw from file field otherwise \n
# ZODB raises an exception when committing transaction\n
kw.pop(\'field_your_file\', None)\n
# remove Base_callDialogMethod arg, otherwise it is set on context\n
# and then we can\'t execute any workflow transition\n
kw.pop(\'Base_callDialogMethod\', None)\n
\n
if kw[\'portal_type\'] == \'\':\n
# we don\'t want to set portal_type to \'\' :)\n
......
651
\ No newline at end of file
652
\ No newline at end of file
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