[Erp5-report] r16070 - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Sep 5 14:18:30 CEST 2007
Author: seb
Date: Wed Sep 5 14:18:29 2007
New Revision: 16070
URL: http://svn.erp5.org?rev=16070&view=rev
Log:
it is not required to set titles on site categories
Modified:
erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=16070&r1=16069&r2=16070&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py Wed Sep 5 14:18:29 2007
@@ -635,8 +635,7 @@
else:
for ss in ['encaisse_des_billets_et_monnaies', 'encaisse_des_externes',
'encaisse_des_billets_recus_pour_ventilation','encaisse_des_devises']:
- title = upperCase(ss)
- ss = s.newContent(id='%s' %(ss,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),), title=title)
+ ss = s.newContent(id='%s' %(ss,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),))
if 'ventilation' in ss.getId():
for country in ['madrid', 'paris']:
if country[0] != c.getCodification()[0]:
@@ -650,8 +649,7 @@
# for
if s.getId() == 'auxiliaire':
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']:
- title = upperCase(ss)
- s.newContent(id='%s' %(ss,), portal_type='Category', codification='', vault_type='site/caveau/%s' %(s.getId(),), title=title)
+ 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='site/surface/caisse_courante/encaisse_des_devises')
More information about the Erp5-report
mailing list