[Erp5-report] r7637 - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 7 13:03:20 CEST 2006


Author: seb
Date: Wed Jun  7 13:03:17 2006
New Revision: 7637

URL: http://svn.erp5.org?rev=7637&view=rev
Log:
rename salle_de_tri with salle_tri

Modified:
    erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=7637&r1=7636&r2=7637&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py Wed Jun  7 13:03:17 2006
@@ -366,9 +366,9 @@
           for sss in ['encaisse_des_billets_et_monnaies',]:
             sss =  ss.newContent(id='%s' %(sss,), portal_type='Category', codification='',  vault_type='site/surface/%s' %(s.getId(),))
       # create sort room
-      salle_de_tri = surface.newContent(id='salle_de_tri', portal_type='Category', codification='',  vault_type='site/surface/salle_de_tri')
+      salle_tri = surface.newContent(id='salle_tri', portal_type='Category', codification='',  vault_type='site/surface/salle_tri')
       for ss in ['encaisse_des_billets_et_monnaies', 'encaisse_des_billets_recus_pour_ventilation']:
-        ss =  salle_de_tri.newContent(id='%s' %(ss,), portal_type='Category', codification='',  vault_type='site/surface/salle_de_tri')
+        ss =  salle_tri.newContent(id='%s' %(ss,), portal_type='Category', codification='',  vault_type='site/surface/salle_tri')
         if 'ventilation' in ss.getId():
           for country in ['France', 'Spain']:
             if country[0] != c.getCodification()[0]:
@@ -488,7 +488,7 @@
                                            inventory=amount)
 
     # deliver the inventory
-    inventory.deliver()
+    #inventory.deliver()
     self.account_inventory_number += 1
     return bank_account
 
@@ -628,7 +628,7 @@
                                  line['variation_value'],
                                  line['quantity'],)
     # deliver the inventory
-    inventory.deliver()
+    #inventory.deliver()
     #self.workflow_tool.doActionFor(inventory, 'deliver_action', wf_id='inventory_workflow')
     return inventory_group
 




More information about the Erp5-report mailing list