[Erp5-report] r27672 - /erp5/trunk/products/ERP5/tests/testPayroll.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 19 10:29:49 CEST 2009


Author: fabien
Date: Fri Jun 19 10:29:44 2009
New Revision: 27672

URL: http://svn.erp5.org?rev=27672&view=rev
Log:
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

Modified:
    erp5/trunk/products/ERP5/tests/testPayroll.py

Modified: erp5/trunk/products/ERP5/tests/testPayroll.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testPayroll.py?rev=27672&r1=27671&r2=27672&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPayroll.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testPayroll.py [utf8] Fri Jun 19 10:29:44 2009
@@ -785,7 +785,8 @@
     business_path = sequence.get('business_path')
     business_path.setTradePhaseList(['payroll/france/urssaf',
                                      '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',))
     sequence.edit(business_path=business_path)
 




More information about the Erp5-report mailing list