From 4ca433aaa3d43011dcb0e911efcb1cef2391ce57 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Mon, 29 May 2006 18:15:15 +0000 Subject: [PATCH] Added a comment about an improveable method git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7531 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/SimulationTool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5/Tool/SimulationTool.py b/product/ERP5/Tool/SimulationTool.py index 0e0da0e503..929fcac33f 100644 --- a/product/ERP5/Tool/SimulationTool.py +++ b/product/ERP5/Tool/SimulationTool.py @@ -503,6 +503,8 @@ class SimulationTool (BaseTool): Returns available inventory (current inventory - reserved) """ + #XXX This code is wrong, look at + # zope/Products/ERP5/Extensions/InventoryBrain.py for a more complete one kw['simulation_state'] = tuple( list(self.getPortalReservedInventoryStateList()) + \ list(self.getPortalCurrentInventoryStateList())) -- 2.30.9