Commit f03f5a83 authored by Sebastien Robin's avatar Sebastien Robin

rename salle_de_tri with salle_tri

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7637 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d423bb5
...@@ -366,9 +366,9 @@ class TestERP5BankingMixin: ...@@ -366,9 +366,9 @@ class TestERP5BankingMixin:
for sss in ['encaisse_des_billets_et_monnaies',]: 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(),)) sss = ss.newContent(id='%s' %(sss,), portal_type='Category', codification='', vault_type='site/surface/%s' %(s.getId(),))
# create sort room # 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']: 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(): if 'ventilation' in ss.getId():
for country in ['France', 'Spain']: for country in ['France', 'Spain']:
if country[0] != c.getCodification()[0]: if country[0] != c.getCodification()[0]:
...@@ -488,7 +488,7 @@ class TestERP5BankingMixin: ...@@ -488,7 +488,7 @@ class TestERP5BankingMixin:
inventory=amount) inventory=amount)
# deliver the inventory # deliver the inventory
inventory.deliver() #inventory.deliver()
self.account_inventory_number += 1 self.account_inventory_number += 1
return bank_account return bank_account
...@@ -628,7 +628,7 @@ class TestERP5BankingMixin: ...@@ -628,7 +628,7 @@ class TestERP5BankingMixin:
line['variation_value'], line['variation_value'],
line['quantity'],) line['quantity'],)
# deliver the inventory # deliver the inventory
inventory.deliver() #inventory.deliver()
#self.workflow_tool.doActionFor(inventory, 'deliver_action', wf_id='inventory_workflow') #self.workflow_tool.doActionFor(inventory, 'deliver_action', wf_id='inventory_workflow')
return inventory_group return inventory_group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment