Commit 9a1cec27 authored by Vincent Pelletier's avatar Vincent Pelletier

Create category "transit" in category "encaisse_des_externes", and categories...

Create category "transit" in category "encaisse_des_externes", and categories "billets_detenus_par_des_tiers" and "encaisse_des_billets_recus_pour_ventilation_venant_de" in category auxiliaire.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14239 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c8b435d
......@@ -608,10 +608,12 @@ class TestERP5BankingMixin:
if 'devises' in ss.getId():
for currency in ['eur','usd']:
ss.newContent(id='%s' %(currency,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(ss.getId(),))
if 'encaisse_des_externes' in ss.getId():
ss.newContent(id='transit', portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),))
#if ss.getId()=='encaisse_des_devises':
# for
if s.getId() == 'auxiliaire':
for ss in ['encaisse_des_billets_a_ventiler_et_a_detruire', 'encaisse_des_billets_ventiles_et_detruits']:
for ss in ['encaisse_des_billets_a_ventiler_et_a_detruire', 'encaisse_des_billets_ventiles_et_detruits', 'billets_detenus_par_des_tiers', 'encaisse_des_billets_recus_pour_ventilation_venant_de']:
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', ]:
......
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