Commit 1e191fa6 authored by Sebastien Robin's avatar Sebastien Robin

outgoing and incoming vaults where on the wrong place for foreign currencies

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15581 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ebd57b9
...@@ -598,9 +598,9 @@ class TestERP5BankingMixin: ...@@ -598,9 +598,9 @@ class TestERP5BankingMixin:
for sss in ['encaisse_des_devises',]: for sss in ['encaisse_des_devises',]:
sss = ss.newContent(id='%s' %(sss,), portal_type='Category', codification='', vault_type='site/surface/%s/guichet' %(s.getId(),)) sss = ss.newContent(id='%s' %(sss,), portal_type='Category', codification='', vault_type='site/surface/%s/guichet' %(s.getId(),))
for currency in ['usd']: for currency in ['usd']:
sss.newContent(id='%s' %(currency,), portal_type='Category', codification='', vault_type='site/surface/%s' %(ss.getId(),)) currency_cat = sss.newContent(id='%s' %(currency,), portal_type='Category', codification='', vault_type='site/surface/%s' %(ss.getId(),))
for ssss in ['entrante', 'sortante']: for ssss in ['entrante', 'sortante']:
sss.newContent(id='%s' %(ssss,), portal_type='Category', codification='', vault_type='site/surface/%s/guichet' %(s.getId(),)) currency_cat.newContent(id='%s' %(ssss,), portal_type='Category', codification='', vault_type='site/surface/%s/guichet' %(s.getId(),))
# create sort room # create sort room
salle_tri = surface.newContent(id='salle_tri', portal_type='Category', codification='', vault_type='site/surface/salle_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', 'encaisse_des_differences']: for ss in ['encaisse_des_billets_et_monnaies', 'encaisse_des_billets_recus_pour_ventilation', 'encaisse_des_differences']:
......
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