Commit 93507415 authored by Aurel's avatar Aurel

add a function category for check section


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10239 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 16148909
...@@ -452,10 +452,11 @@ class TestERP5BankingMixin: ...@@ -452,10 +452,11 @@ class TestERP5BankingMixin:
self.controleur_caisse_courante = self.banking.newContent(id='controleur_caisse_courante', portal_type='Category', codification='CCC') self.controleur_caisse_courante = self.banking.newContent(id='controleur_caisse_courante', portal_type='Category', codification='CCC')
self.controleur_caveau = self.banking.newContent(id='controleur_caveau', portal_type='Category', codification='CCA') self.controleur_caveau = self.banking.newContent(id='controleur_caveau', portal_type='Category', codification='CCA')
self.comptable = self.banking.newContent(id='comptable', portal_type='Category', codification='FXF') self.comptable = self.banking.newContent(id='comptable', portal_type='Category', codification='FXF')
self.chef_section = self.banking.newContent(id='chef_section_comptable', portal_type='Category', codification='FXS') self.chef_section_comptable = self.banking.newContent(id='chef_section_comptable', portal_type='Category', codification='CSB')
self.chef_comptable = self.banking.newContent(id='chef_comptable', portal_type='Category', codification='CCB') self.chef_comptable = self.banking.newContent(id='chef_comptable', portal_type='Category', codification='CCB')
self.chef_de_tri = self.banking.newContent(id='chef_de_tri', portal_type='Category', codification='CTR') self.chef_de_tri = self.banking.newContent(id='chef_de_tri', portal_type='Category', codification='CTR')
self.chef_caisse = self.banking.newContent(id='chef_caisse', portal_type='Category', codification='CCP') self.chef_caisse = self.banking.newContent(id='chef_caisse', portal_type='Category', codification='CCP')
self.chef_section = self.banking.newContent(id='chef_section', portal_type='Category', codification='FXS')
# get the base category group # get the base category group
self.group_base_category = getattr(self.category_tool, 'group') self.group_base_category = getattr(self.category_tool, 'group')
......
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