Commit 7f6db54a authored by Vincent Pelletier's avatar Vincent Pelletier

Do not display warning when value don't match for columns in which they are not supposed to match.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17132 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b0af32ff
...@@ -1106,7 +1106,7 @@ class SimulationTool(BaseTool): ...@@ -1106,7 +1106,7 @@ class SimulationTool(BaseTool):
result[key] = value_b result[key] = value_b
elif line_a[key] == line_b[key]: elif line_a[key] == line_b[key]:
result[key] = line_a[key] result[key] = line_a[key]
else: elif key not in ('date', 'stock_uid', 'path'):
LOG('InventoryTool.getInventoryList.addLineValues', 0, LOG('InventoryTool.getInventoryList.addLineValues', 0,
'missmatch for %s column: %s and %s' % \ 'missmatch for %s column: %s and %s' % \
(key, line_a[key], line_b[key])) (key, line_a[key], line_b[key]))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment