From be3547cd18dbfcf00d38095ffa71cee51b178ca1 Mon Sep 17 00:00:00 2001 From: Si Chen Date: Thu, 15 Feb 2007 01:54:44 +0000 Subject: [PATCH] reverting back to the older version of the facility inventory screen so that it will work correctly when there are no inventory items yet for products which have product facility minimum stock settings git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507773 13f79535-47bb-0310-9956-ffa450edef68 --- .../actions/facility/countFacilityInventoryByProduct.bsh | 5 +++++ applications/product/widget/facility/FacilityScreens.xml | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh b/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh index f3f2dcba11..ee9280164f 100644 --- a/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh +++ b/applications/product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh @@ -17,6 +17,11 @@ * under the License. */ +// This script can be used for testing right now but it should not be used for production because +// it does not work for marketing packages and more importantly, if there is a new product without any +// inventory items, it will not show up on the inventory report even if it had a ProductFacility record. +// These problems need to be addressed before this can be used in production. + // This script counts the inventory in the facility using a complex and // pretty efficient dynamic view entity. // However, since the quantities are not computed using the inventory diff --git a/applications/product/widget/facility/FacilityScreens.xml b/applications/product/widget/facility/FacilityScreens.xml index 13fd18e646..fee0c75394 100644 --- a/applications/product/widget/facility/FacilityScreens.xml +++ b/applications/product/widget/facility/FacilityScreens.xml @@ -197,8 +197,9 @@ under the License. - -