From 7f6db54a3a9e6f5384999673b8673d224d5bab9a Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 23 Oct 2007 14:11:09 +0000
Subject: [PATCH] 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
---
 product/ERP5/Tool/SimulationTool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Tool/SimulationTool.py b/product/ERP5/Tool/SimulationTool.py
index 1121a177be..bcee9dde7b 100644
--- a/product/ERP5/Tool/SimulationTool.py
+++ b/product/ERP5/Tool/SimulationTool.py
@@ -1106,7 +1106,7 @@ class SimulationTool(BaseTool):
                         result[key] = value_b
                     elif line_a[key] == line_b[key]:
                       result[key] = line_a[key]
-                    else:
+                    elif key not in ('date', 'stock_uid', 'path'):
                       LOG('InventoryTool.getInventoryList.addLineValues', 0,
                           'missmatch for %s column: %s and %s' % \
                           (key, line_a[key], line_b[key]))
-- 
2.30.9