Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
45531bc7
Commit
45531bc7
authored
Jul 11, 2016
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type, ERP5Site: new type group to get documents related to persons
parent
100026b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+8
-0
product/ERP5Type/ERP5Type.py
product/ERP5Type/ERP5Type.py
+2
-0
No files found.
product/ERP5/ERP5Site.py
View file @
45531bc7
...
...
@@ -1495,6 +1495,14 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
"""
return
self
.
_getPortalGroupedTypeList
(
'module'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPortalPersonalItemTypeList'
)
def
getPortalPersonalItemTypeList
(
self
)
:
"""
Return personal item types.
"""
return
self
.
_getPortalGroupedTypeList
(
'personal_item'
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getPortalInventoryMovementTypeList'
)
def
getPortalInventoryMovementTypeList
(
self
):
...
...
product/ERP5Type/ERP5Type.py
View file @
45531bc7
...
...
@@ -302,6 +302,8 @@ class ERP5TypeInformation(XMLObject,
'budget_variation'
,
# Module
'module'
,
# Document related to a person's assignment or career step
'personal_item'
,
# Base
'entity'
,
# LEGACY - needs a warning - XXX-JPS
...
...
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