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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
erp5
Commits
2b781fd2
Commit
2b781fd2
authored
Jan 08, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WorkflowState.py: a stable version.
parent
87c0e746
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
product/ERP5Type/Accessor/WorkflowState.py
product/ERP5Type/Accessor/WorkflowState.py
+2
-4
No files found.
product/ERP5Type/Accessor/WorkflowState.py
View file @
2b781fd2
...
...
@@ -2,7 +2,7 @@
#
# Copyright (c) 2002-2003 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solanes <jp@nexedi.com>
#
#
Wenjie ZHENG <wenjie.zheng@tiolive.com>
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
...
...
@@ -65,7 +65,7 @@ class ERP5WorkflowStateGetter(BaseGetter):
Gets an attribute value. A default value can be
provided if needed
"""
_need__name__
=
1
_need__name__
=
1
# Generic Definition of Method Object
# This is required to call the method form the Web
...
...
@@ -181,7 +181,6 @@ class ERP5WorkflowStateTranslatedGetter(ERP5WorkflowStateGetter):
psyco
.
bind
(
__call__
)
### zwj: original version
class
TranslatedTitleGetter
(
TitleGetter
):
"""
Gets the translated title of the current state
...
...
@@ -207,7 +206,6 @@ class TranslatedTitleGetter(TitleGetter):
psyco
.
bind
(
__call__
)
### zwj coppatible with DCWorkflow
class
ERP5WorkflowStateTranslatedTitleGetter
(
ERP5WorkflowStateTitleGetter
):
"""
Gets the translated title of the current state
...
...
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