From 1c9da58ca6f504d527d2e8f341babf746855ead4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 2 Jun 2008 12:50:52 +0000
Subject: [PATCH] don't set base_amount in test_createEditablePaySheetLine,
 it's not required. also explain why we need cell in the model line for
 editable model line to work

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21264 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testPayroll.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/tests/testPayroll.py b/product/ERP5/tests/testPayroll.py
index 06d0cd7d3f..1e7399812d 100644
--- a/product/ERP5/tests/testPayroll.py
+++ b/product/ERP5/tests/testPayroll.py
@@ -1159,10 +1159,10 @@ class TestPayroll(TestPayrollMixin):
           portal_type='Pay Sheet Model Line',
           resource_value=self.labour,
           variation_category_list=['tax_category/employee_share'],
-          base_amount_list=['base_salary'],
           editable=1)
-    # Note that for now it is required that the editable line contains at least
-    # one cell
+    # Note that it is required that the editable line contains at least one
+    # cell, to know which tax_category is used (employee share or employer
+    # share).
     line.updateCellRange(base_id='movement')
     cell = line.newCell('tax_category/employee_share',
                         portal_type='Pay Sheet Cell',
-- 
2.30.9