From cfab882ac856bedc71d641a391edfdb4ac633ebb Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Mon, 13 Jun 2011 15:49:49 +0200 Subject: [PATCH] source_section and destination_section should not have any impact to build the delivery simulation. Those properties are used for invoicing. --- .../SimulationMovement_testDeliverySimulationRule.xml | 6 ------ bt5/erp5_trade/bt/revision | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SimulationMovement_testDeliverySimulationRule.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SimulationMovement_testDeliverySimulationRule.xml index 41194eb03d..bfb8bcdf37 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SimulationMovement_testDeliverySimulationRule.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SimulationMovement_testDeliverySimulationRule.xml @@ -58,12 +58,6 @@ if parent.getPortalType() == \'Applied Rule\':\n if parent_rule.getPortalType() not in [\'Order Root Simulation Rule\', \'Production Order Root Simulation Rule\']:\n return False\n \n -source_section = movement.getSourceSection()\n -destination_section = movement.getDestinationSection()\n -if source_section == destination_section or source_section is None \\\n - or destination_section is None:\n - return False\n -\n return True\n </string> </value> </item> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index a496f023e3..46be0989a1 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -1127 \ No newline at end of file +1128 \ No newline at end of file -- 2.30.9