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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 3 11:12:45 CET 2009


Author: fabien
Date: Tue Feb  3 11:12:44 2009
New Revision: 25423

URL: http://svn.erp5.org?rev=25423&view=rev
Log:
remove the base_application because if there is a base_application with no model_line contibuting to this base_amount, the amount is zero, and the paysheet line is not created. Here the goal of this test is just to check annotation lines, we don't care about the amounts in paysheet lines

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=25423&r1=25422&r2=25423&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPayroll.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testPayroll.py [utf8] Tue Feb  3 11:12:44 2009
@@ -1652,7 +1652,6 @@
                     resource_value=self.urssaf,
                     variation_category_list=['tax_category/employee_share'],
                     source_annotation_line_reference='tax1',
-                    base_application_list =  ['base_amount/base_salary',],
                     base_contribution_list = ['base_amount/deductible_tax',],)
     model_line.updateCellRange(base_id='movement')
     cell = model_line.newCell('tax_category/employee_share',




More information about the Erp5-report mailing list