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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
2bf2f367
Commit
2bf2f367
authored
Dec 26, 2018
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SimulationTool: only ignore internal movement if node is ignored
parent
5b7f51c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/Tool/SimulationTool.py
product/ERP5/Tool/SimulationTool.py
+2
-2
No files found.
product/ERP5/Tool/SimulationTool.py
View file @
2bf2f367
...
@@ -1873,8 +1873,8 @@ class SimulationTool(BaseTool):
...
@@ -1873,8 +1873,8 @@ class SimulationTool(BaseTool):
assert
'node_uid'
in
kw
or
'section_uid'
in
kw
assert
'node_uid'
in
kw
or
'section_uid'
in
kw
sql_kw
=
self
.
_generateSQLKeywordDict
(
**
kw
)
sql_kw
=
self
.
_generateSQLKeywordDict
(
**
kw
)
if
'section_uid'
in
kw
:
if
'section_uid'
in
kw
and
'node_uid'
not
in
kw
:
# ignore internal movements
# ignore internal movements
if ignore node
sql_kw
[
'where_expression'
]
+=
' AND '
\
sql_kw
[
'where_expression'
]
+=
' AND '
\
'NOT(stock.section_uid<=>stock.mirror_section_uid)'
'NOT(stock.section_uid<=>stock.mirror_section_uid)'
...
...
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