Commit 5069a5f8 authored by Fabien Morin's avatar Fabien Morin

set source and source_section on the business path. This will be copied on...

set source and source_section on the business path. This will be copied on movements if trade_phase from the resource correspond to the one of the business_path


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27672 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4329236
...@@ -785,7 +785,8 @@ class TestPayrollMixin(ERP5ReportTestCase, TestBPMMixin): ...@@ -785,7 +785,8 @@ class TestPayrollMixin(ERP5ReportTestCase, TestBPMMixin):
business_path = sequence.get('business_path') business_path = sequence.get('business_path')
business_path.setTradePhaseList(['payroll/france/urssaf', business_path.setTradePhaseList(['payroll/france/urssaf',
'payroll/france/labour']) 'payroll/france/labour'])
business_path.setSourceDecisionValue(sequence.get('urssaf_roubaix')) business_path.setSourceValue(sequence.get('urssaf_roubaix'))
business_path.setSourceSectionValue(sequence.get('urssaf_roubaix'))
business_path.setDeliveryBuilderList(('portal_deliveries/pay_sheet_builder',)) business_path.setDeliveryBuilderList(('portal_deliveries/pay_sheet_builder',))
sequence.edit(business_path=business_path) sequence.edit(business_path=business_path)
......
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