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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
0af643dd
Commit
0af643dd
authored
Apr 14, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HACK: Inventory API group_by_time_sequence_list partial fix
parent
52094dac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.sql
...tem/portal_skins/erp5_core/Resource_zGetInventoryList.sql
+7
-7
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.sql
View file @
0af643dd
...
@@ -93,23 +93,23 @@ FROM
...
@@ -93,23 +93,23 @@ FROM
(
(
(
time_interval_from_date
is
not
null
AND
(
time_interval_from_date
is
not
null
AND
(
time_interval_at_date
is
not
null
AND
(
time_interval_at_date
is
not
null
AND
GREATEST
(
`stock`
.
`date`
,
`stock`
.
`mirror_date`
)
>=
time_interval_from_date
AND
`stock`
.
`date`
>=
time_interval_from_date
AND
LEAST
(
`stock`
.
`date`
,
`stock`
.
`mirror_date`
)
<=
time_interval_at_date
`stock`
.
`date`
<=
time_interval_at_date
)
OR
(
)
OR
(
(
(
time_interval_to_date
is
not
null
AND
time_interval_to_date
is
not
null
AND
GREATEST
(
`stock`
.
`date`
,
`stock`
.
`mirror_date`
)
>=
time_interval_from_date
AND
`stock`
.
`date`
>=
time_interval_from_date
AND
LEAST
(
`stock`
.
`date`
,
`stock`
.
`mirror_date`
)
<
time_interval_to_date
`stock`
.
`date`
<
time_interval_to_date
)
OR
(
)
OR
(
GREATEST
(
`stock`
.
`date`
,
`stock`
.
`mirror_date`
)
>=
time_interval_from_date
AND
`stock`
.
`date`
>=
time_interval_from_date
AND
time_interval_at_date
is
null
AND
time_interval_to_date
is
null
time_interval_at_date
is
null
AND
time_interval_to_date
is
null
)
)
)
)
)
OR
(
)
OR
(
time_interval_from_date
is
null
AND
(
time_interval_from_date
is
null
AND
(
(
time_interval_at_date
is
not
null
AND
(
time_interval_at_date
is
not
null
AND
(
LEAST
(
`stock`
.
`date`
,
`stock`
.
`mirror_date`
)
<=
time_interval_at_date
)
(
`stock`
.
`date`
<=
time_interval_at_date
)
)
OR
LEAST
(
`stock`
.
`date`
,
`stock`
.
`mirror_date`
)
<
time_interval_to_date
)
OR
`stock`
.
`date`
<
time_interval_to_date
)
)
)
)
)
)
...
...
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