Commit 416f0a43 authored by Sebastien Robin's avatar Sebastien Robin

remove some unused vault, add more properties to bank account

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11567 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fdd6d380
...@@ -522,7 +522,7 @@ class TestERP5BankingMixin: ...@@ -522,7 +522,7 @@ class TestERP5BankingMixin:
ss.newContent(id='%s' %(country,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),)) ss.newContent(id='%s' %(country,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),))
# caveau # caveau
caveau = c.newContent(id='caveau', portal_type='Category', codification='', vault_type='site/caveau') caveau = c.newContent(id='caveau', portal_type='Category', codification='', vault_type='site/caveau')
for s in ['auxiliaire', 'reserve', 'externes', 'serre','devises']: for s in ['auxiliaire', 'reserve', 'serre']:
s = caveau.newContent(id='%s' %(s,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s,)) s = caveau.newContent(id='%s' %(s,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s,))
if s.getId() == 'serre': if s.getId() == 'serre':
for ss in ['encaisse_des_billets_neufs_non_emis', 'encaisse_des_billets_retires_de_la_circulation','encaisse_des_billets_detruits','encaisse_des_billets_neufs_non_emis_en_transit_allant_a']: for ss in ['encaisse_des_billets_neufs_non_emis', 'encaisse_des_billets_retires_de_la_circulation','encaisse_des_billets_detruits','encaisse_des_billets_neufs_non_emis_en_transit_allant_a']:
...@@ -639,6 +639,11 @@ class TestERP5BankingMixin: ...@@ -639,6 +639,11 @@ class TestERP5BankingMixin:
bank_account = person.newContent(id = account_id, bank_account = person.newContent(id = account_id,
portal_type = 'Bank Account', portal_type = 'Bank Account',
price_currency_value = currency, price_currency_value = currency,
bank_country_code='k',
bank_code='1234',
branch='12345',
bank_account_number='123456789012',
bank_account_key='12',
**kw) **kw)
# validate this bank account for payment # validate this bank account for payment
bank_account.validate() bank_account.validate()
......
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