Commit 35ab7d70 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

configure business process to specify the account for bank.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32262 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81f479ec
......@@ -52,6 +52,13 @@ class TestERP5SimulationMixin(TestInvoiceMixin):
if rule.getValidationState() == 'validated':
rule.invalidate()
self.validateNewRules()
self.setUpBusinessProcess()
def setUpBusinessProcess(self):
business_process = self.portal.business_process_module.erp5_default_business_process
pay_business_path = business_process['pay']
pay_business_path.setSource('account_module/bank')
pay_business_path.setDestination('account_module/bank')
@UnrestrictedMethod
def createInvoiceTransactionRule(self, resource=None):
......
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