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
Léo-Paul Géneau
erp5
Commits
e6d8de91
Commit
e6d8de91
authored
Oct 14, 2016
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type: make PropertyManager.getProperty support `checked_permission` argument
for compatibility with Base.checkProperty.
parent
fc54073a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5Type/patches/PropertyManager.py
product/ERP5Type/patches/PropertyManager.py
+1
-1
No files found.
product/ERP5Type/patches/PropertyManager.py
View file @
e6d8de91
...
...
@@ -57,7 +57,7 @@ def PropertyManager_hasProperty(self, id, local_properties=False):
return
0
def
PropertyManager_getProperty
(
self
,
id
,
d
=
None
,
evaluate
=
1
,
local_properties
=
False
):
local_properties
=
False
,
checked_permission
=
None
):
"""Get the property 'id', returning the optional second
argument or None if no such property is found."""
property_type
=
self
.
getPropertyType
(
id
,
...
...
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