[Erp5-report] r11628 - /erp5/trunk/products/ERP5/tests/testInventory.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 7 10:36:27 CET 2006


Author: seb
Date: Thu Dec  7 10:36:25 2006
New Revision: 11628

URL: http://svn.erp5.org?rev=11628&view=rev
Log:
some base_id where wrong

Modified:
    erp5/trunk/products/ERP5/tests/testInventory.py

Modified: erp5/trunk/products/ERP5/tests/testInventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInventory.py?rev=11628&r1=11627&r2=11628&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInventory.py (original)
+++ erp5/trunk/products/ERP5/tests/testInventory.py Thu Dec  7 10:36:25 2006
@@ -563,7 +563,7 @@
           for bc in packing_list_line.getVariationBaseCategoryList():
             new_variation.append(variation[base_category_dict[bc]])
           variation = new_variation
-          packing_list_cell = packing_list_line.newCell(base_id='quantity', *variation)
+          packing_list_cell = packing_list_line.newCell(base_id='movement', *variation)
           packing_list_cell.edit(
               quantity = cell['quantity'],
               predicate_category_list = variation,
@@ -790,7 +790,7 @@
     simulation = self.getPortal().portal_simulation
     delivery = sequence.get('packing_list_list')[0]
     expected_values_list = [
-      {'text':delivery['1']['quantity_0_0_0'],
+      {'text':delivery['1']['movement_0_0_0'],
               'values':[{'inventory':17.},]
       },
     ]
@@ -1660,7 +1660,7 @@
           for bc in packing_list_line.getVariationBaseCategoryList():
             new_variation.append(variation[base_category_dict[bc]])
           variation = new_variation
-          packing_list_cell = packing_list_line.newCell(base_id='quantity', *variation)
+          packing_list_cell = packing_list_line.newCell(base_id='movement', *variation)
           packing_list_cell.edit(
               quantity = cell['quantity'],
               predicate_category_list = variation,




More information about the Erp5-report mailing list