Commit 3380aebd authored by Sebastien Robin's avatar Sebastien Robin

fixed the vault type on some vaults

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14803 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e3465574
......@@ -568,7 +568,7 @@ class TestERP5BankingMixin:
caisse_courante = surface.newContent(id='caisse_courante', portal_type='Category', codification='', vault_type='site/surface/caisse_courante')
caisse_courante.newContent(id='encaisse_des_billets_et_monnaies', portal_type='Category', codification='', vault_type='site/surface/caisse_courante')
caisse_courante.newContent(id='billets_mutiles', portal_type='Category', codification='', vault_type='site/surface/caisse_courante')
caisse_courante.newContent(id='encaisse_des_devises', portal_type='Category', codification='', vault_type='site/surface/caisse_courante')
encaisse_des_devises = caisse_courante.newContent(id='encaisse_des_devises', portal_type='Category', codification='', vault_type='site/surface/caisse_courante/encaisse_des_devises')
# create counter for surface
for s in ['banque_interne', 'gros_versement', 'gros_paiement']:
vault_codification = c.getCodification()
......@@ -632,7 +632,7 @@ class TestERP5BankingMixin:
s.newContent(id='%s' %(ss,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),))
# Create forreing currency entries in encaisse_des_devises.
for currency in ['usd', ]:
caisse_courante.encaisse_des_devises.newContent(id=currency, portal_type='Category', codification='', vault_type='surface/caisse_courante/encaisse_des_devises/%s' % (currency, ))
caisse_courante.encaisse_des_devises.newContent(id=currency, portal_type='Category', codification='', vault_type='site/surface/caisse_courante/encaisse_des_devises')
# Create other site now but without vault
if len(site_list) != 0:
......
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