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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
170da824
Commit
170da824
authored
Oct 19, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type/RelatedAccessor: fix catalog warning for discarded empty values
parent
e6f788f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
product/ERP5Type/Accessor/Related.py
product/ERP5Type/Accessor/Related.py
+2
-2
product/ERP5Type/Accessor/RelatedValue.py
product/ERP5Type/Accessor/RelatedValue.py
+3
-3
No files found.
product/ERP5Type/Accessor/Related.py
View file @
170da824
...
...
@@ -60,7 +60,7 @@ class DefaultGetter(BaseGetter):
self
.
_key
,
'relative_url'
,
spec
=
kw
.
get
(
'spec'
,()),
filter
=
kw
.
get
(
'filter'
,
None
),
portal_type
=
kw
.
get
(
'portal_type'
,
()
),
portal_type
=
kw
.
get
(
'portal_type'
,
None
),
checked_permission
=
kw
.
get
(
'checked_permission'
,
None
))
psyco
.
bind
(
__call__
)
...
...
@@ -95,7 +95,7 @@ class ListGetter(BaseGetter):
self
.
_key
,
'relative_url'
,
spec
=
kw
.
get
(
'spec'
,()),
filter
=
kw
.
get
(
'filter'
,
None
),
portal_type
=
kw
.
get
(
'portal_type'
,
()
),
portal_type
=
kw
.
get
(
'portal_type'
,
None
),
checked_permission
=
kw
.
get
(
'checked_permission'
,
None
))
psyco
.
bind
(
__call__
)
...
...
product/ERP5Type/Accessor/RelatedValue.py
View file @
170da824
...
...
@@ -64,7 +64,7 @@ class DefaultGetter(BaseGetter):
self
.
_key
,
spec
=
kw
.
get
(
'spec'
,()),
filter
=
kw
.
get
(
'filter'
,
None
),
portal_type
=
kw
.
get
(
'portal_type'
,
()
),
portal_type
=
kw
.
get
(
'portal_type'
,
None
),
strict_membership
=
kw
.
get
(
'strict_membership'
,
# 'strict' is deprecated
kw
.
get
(
'strict'
,
None
)),
...
...
@@ -142,7 +142,7 @@ class DefaultPropertyGetter(BaseGetter):
self
.
_key
,
key
,
spec
=
kw
.
get
(
'spec'
,()),
filter
=
kw
.
get
(
'filter'
,
None
),
portal_type
=
kw
.
get
(
'portal_type'
,
()
),
portal_type
=
kw
.
get
(
'portal_type'
,
None
),
strict_membership
=
kw
.
get
(
'strict_membership'
,
# 'strict' is deprecated
kw
.
get
(
'strict'
,
None
)),
...
...
@@ -179,7 +179,7 @@ class PropertyListGetter(BaseGetter):
self
.
_key
,
key
,
spec
=
kw
.
get
(
'spec'
,()),
filter
=
kw
.
get
(
'filter'
,
None
),
portal_type
=
kw
.
get
(
'portal_type'
,
()
),
portal_type
=
kw
.
get
(
'portal_type'
,
None
),
strict_membership
=
kw
.
get
(
'strict_membership'
,
# 'strict' is deprecated
kw
.
get
(
'strict'
,
None
)),
...
...
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