[Erp5-report] r18336 - /erp5/trunk/products/ERP5/tests/testPayroll.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 14 17:49:34 CET 2007
Author: fabien
Date: Fri Dec 14 17:49:33 2007
New Revision: 18336
URL: http://svn.erp5.org?rev=18336&view=rev
Log:
add warning and todo
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=18336&r1=18335&r2=18336&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPayroll.py (original)
+++ erp5/trunk/products/ERP5/tests/testPayroll.py Fri Dec 14 17:49:33 2007
@@ -29,15 +29,19 @@
Tests paysheet creation using paysheet model.
TODO:
+ - review naming of new methods
- in the test test_04_paySheetCalculation, add sub_object (annotation_line,
ratio_line and payment conditioni), and verify that before the script
'PaySheetTransaction_applyModel' is called, subobjects are not in the
paysheet, and after that there are copied in.
- use ratio settings and test it (there is a method getRatioQuantityList, see
- the file Document/PaySheetModelLine.py)
+ the file Document/PaySheetTransaction.py)
- test with bonus which participate on the base_salary and see if the
contribution are applied on the real base_salary or on the base_salary + bonus
(it should).
+
+WARNING:
+ - current API naming may change although model should be stable.
"""
More information about the Erp5-report
mailing list