diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py
index 4cea676aabf38c61017a6f0ccd3815ef3514ccec..8e829e1f24de457f72d74eb649b8f6234b37ccb7 100644
--- a/product/ERP5/Document/PaySheetTransaction.py
+++ b/product/ERP5/Document/PaySheetTransaction.py
@@ -314,7 +314,8 @@ class PaySheetTransaction(Invoice):
         desc      = ''.join(model_line.getDescription())
       # if the model_line description is empty, the payroll service 
       # description is used
-      else: desc  = ''.join(service.getDescription())
+      else: 
+        desc  = ''.join(service.getDescription())
       
       variation_share_list = model_line.getVariationCategoryList(\
                                       base_category_list=['tax_category',])
@@ -350,8 +351,9 @@ class PaySheetTransaction(Invoice):
               if getattr(self, script_name, None) is None:
                 raise ValueError, "Unable to find `%s` calculation script" % \
                                                                  script_name
-              LOG('script_name :',0,script_name)
               calculation_script = getattr(self, script_name, None)
+              quantity=0
+              price=0
               result = calculation_script(\
                 base_amount_current_value_dict=base_amount_current_value_dict,
                 share=share,