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
alecs_myu
erp5
Commits
1953caeb
Commit
1953caeb
authored
Oct 06, 2015
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type.Core.Predicate.buildSQLQuery: Fix accessor name.
parent
2373a549
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5Type/Core/Predicate.py
product/ERP5Type/Core/Predicate.py
+1
-1
No files found.
product/ERP5Type/Core/Predicate.py
View file @
1953caeb
...
@@ -223,7 +223,7 @@ class Predicate(XMLObject):
...
@@ -223,7 +223,7 @@ class Predicate(XMLObject):
catalog_kw
.
update
(
kw
)
# query_table, REQUEST, ignore_empty_string, **kw
catalog_kw
.
update
(
kw
)
# query_table, REQUEST, ignore_empty_string, **kw
criterion_list
=
self
.
getCriterionList
()
criterion_list
=
self
.
getCriterionList
()
# BBB: accessor is not present on old Predicate property sheet.
# BBB: accessor is not present on old Predicate property sheet.
if
criterion_list
or
getattr
(
self
,
'isEmpty
Predicate
Valid'
,
lambda
:
True
)():
if
criterion_list
or
getattr
(
self
,
'isEmpty
Criterion
Valid'
,
lambda
:
True
)():
for
criterion
in
criterion_list
:
for
criterion
in
criterion_list
:
p
=
criterion
.
property
p
=
criterion
.
property
if
criterion
.
min
:
if
criterion
.
min
:
...
...
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