Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
erp5
Commits
dacf7438
Commit
dacf7438
authored
May 13, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patches/DCWOrkflow.py: revert unused modifications added during development.
parent
6d871222
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
19 deletions
+20
-19
product/ERP5Type/patches/DCWorkflow.py
product/ERP5Type/patches/DCWorkflow.py
+20
-19
No files found.
product/ERP5Type/patches/DCWorkflow.py
View file @
dacf7438
...
...
@@ -13,32 +13,33 @@
#
##############################################################################
# Optimized rendering of global actions (cache)
from
Products.ERP5Type.Globals
import
DTMLFile
from
Products.ERP5Type
import
_dtmldir
from
Products.DCWorkflow.DCWorkflow
import
DCWorkflowDefinition
,
StateChangeInfo
,
createExprContext
from
Products.DCWorkflow.DCWorkflow
import
ObjectDeleted
,
ObjectMoved
,
aq_parent
,
aq_inner
from
Products.DCWorkflow
import
DCWorkflow
from
Products.DCWorkflow.Transitions
import
TRIGGER_WORKFLOW_METHOD
,
TransitionDefinition
from
Products.DCWorkflow.Transitions
import
TRIGGER_USER_ACTION
from
AccessControl
import
getSecurityManager
,
ModuleSecurityInfo
,
Unauthorized
from
Products.CMFCore.utils
import
getToolByName
from
Products.CMFCore.WorkflowCore
import
WorkflowException
from
Products.CMFCore.utils
import
_getAuthenticatedUser
from
DocumentTemplate.DT_Util
import
TemplateDict
from
DateTime
import
DateTime
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.Utils
import
convertToMixedCase
import
sys
from
Acquisition
import
aq_base
from
AccessControl
import
getSecurityManager
,
ModuleSecurityInfo
,
Unauthorized
from
copy
import
deepcopy
from
DateTime
import
DateTime
from
DocumentTemplate.DT_Util
import
TemplateDict
from
Products.CMFCore.utils
import
getToolByName
,
_getAuthenticatedUser
from
Products.CMFCore.WorkflowCore
import
WorkflowException
from
Products.DCWorkflow
import
DCWorkflow
from
Products.DCWorkflow.DCWorkflow
import
DCWorkflowDefinition
,
\
StateChangeInfo
,
createExprContext
,
\
ObjectDeleted
,
ObjectMoved
,
aq_parent
,
aq_inner
# Patch WorkflowUIMixin to add description on workflows
from
Products.DCWorkflow.WorkflowUIMixin
import
WorkflowUIMixin
as
WorkflowUIMixin_class
from
Products.DCWorkflow.Guard
import
Guard
,
_checkPermission
from
Products.DCWorkflow.States
import
StateDefinition
from
Products.DCWorkflow.Transitions
import
TRIGGER_WORKFLOW_METHOD
,
\
TransitionDefinition
,
TRIGGER_USER_ACTION
from
Products.DCWorkflow.Variables
import
VariableDefinition
from
Products.DCWorkflow.Worklists
import
WorklistDefinition
from
Products.DCWorkflow.WorkflowUIMixin
import
WorkflowUIMixin
as
WorkflowUIMixin_class
from
Products.ERP5Type
import
_dtmldir
# Optimized rendering of global actions (cache)
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.Globals
import
DTMLFile
# Patch WorkflowUIMixin to add description on workflows
from
Products.ERP5Type.Utils
import
convertToMixedCase
from
zLOG
import
LOG
,
WARNING
ACTIVITY_GROUPING_COUNT
=
100
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment