diff --git a/product/ERP5/tests/testERP5Simulation.py b/product/ERP5/tests/testERP5Simulation.py index c9ee589bd48f3348c752560b6f2bb2f4404556cd..bd2dcfe2db31de4becb399ccc5b4ac2c2374dee5 100644 --- a/product/ERP5/tests/testERP5Simulation.py +++ b/product/ERP5/tests/testERP5Simulation.py @@ -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):