Public
Authored by Jérome Perrin

script to replace doActionFor(edit_action) with new Base_addEditWorkflowComment

Edited
rename_Base_addEditWorkflowComment.py 1.11 KB
  • this does not support when wf_id= is used, for example this:

    portal.portal_workflow.doActionFor(
      document,
      'edit_action',
      wf_id='edit_workflow',
      comment='comment')

    is not correctly rewritten. I don't think we need to fix, there was only one case in the code I updated and I edited code manually to remove wf_id before running this script

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