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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
erp5
Commits
327f785b
Commit
327f785b
authored
Feb 28, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a comment about the column mismatch log to explain the case
parent
3e31633d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
product/ERP5/Tool/SimulationTool.py
product/ERP5/Tool/SimulationTool.py
+4
-0
No files found.
product/ERP5/Tool/SimulationTool.py
View file @
327f785b
...
...
@@ -1568,6 +1568,10 @@ class SimulationTool(BaseTool):
elif
line_a
[
key
]
==
line_b
[
key
]:
result
[
key
]
=
line_a
[
key
]
elif
key
not
in
(
'date'
,
'stock_uid'
,
'path'
):
# This case happens when we got columns in result
# which are not part of the group by statement, MySQL
# used to choose randomly a value for this column, here
# we just do not set the key in result returned
LOG
(
'InventoryTool.getInventoryList.addLineValues'
,
PROBLEM
,
'mismatch for %s column: %s and %s'
%
(
...
...
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