From 4cd1ca8716ffc38b9ef5d1676448d5bd8106ff21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Wed, 7 Mar 2007 10:53:18 +0000
Subject: [PATCH] set packing list to stop to be in current inventory state
 list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13253 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testImmobilisation.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testImmobilisation.py b/product/ERP5/tests/testImmobilisation.py
index ed937e543d..cc6659289c 100644
--- a/product/ERP5/tests/testImmobilisation.py
+++ b/product/ERP5/tests/testImmobilisation.py
@@ -264,11 +264,12 @@ class TestImmobilisation(TestOrderMixin, ERP5TypeTestCase):
              destination_section_value = property_dict['destination_section'],
              start_date =                property_dict['datetime'],
              stop_date =                 property_dict['datetime'],)
-    # Set the Packing List to started state, because the expand
+    # Set the Packing List to stopped state, because the expand
     # process get only deliveries in current_inventory_state
     pl.confirm()
     pl.setReady()
     pl.start()
+    pl.stop()
     # Artificially update causality state because we don't want to tic here
     pl.updateCausalityState()
     packing_list_list = sequence.get('packing_list_list', [])
-- 
2.30.9