Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
2103f887
Commit
2103f887
authored
Nov 02, 2016
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
multiple_catalog: Add getValidationState function for ERP5Catalog for bootstrap
parent
8089570a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
product/ERP5Catalog/Document/ERP5Catalog.py
product/ERP5Catalog/Document/ERP5Catalog.py
+9
-0
No files found.
product/ERP5Catalog/Document/ERP5Catalog.py
View file @
2103f887
...
@@ -216,6 +216,15 @@ class ERP5Catalog(Folder, Catalog):
...
@@ -216,6 +216,15 @@ class ERP5Catalog(Folder, Catalog):
return
md
.
get
(
'type'
,
'string'
)
return
md
.
get
(
'type'
,
'string'
)
return
None
return
None
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getValidationState'
)
def
getValidationState
(
self
):
"""
Needed for bootstrap when the WorkflowState Accessor is not defined yet
"""
return
self
.
workflow_history
[
'validation_workflow'
][
-
1
][
'validation_state'
]
##### Overriding setters functions for multple_selection properties #######
##### Overriding setters functions for multple_selection properties #######
##### Required as after every edit we expect the values sorted #######
##### Required as after every edit we expect the values sorted #######
...
...
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