diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_getLineListAsDict.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_getLineListAsDict.xml index 0768cf8e26d8bfbd0be6dd57616d961b7174cfa0..edfaa0592bb61ca3a3447e496aff1d457581b00a 100644 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_getLineListAsDict.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_getLineListAsDict.xml @@ -80,7 +80,8 @@ def addProperties(line, line_dict, property_list):\n \n #XXX this is a hack wich should be removed when the OOoTemplate will be\n # rewireted\n - if line_dict[property] is not None and property.endswith(\'_price\'):\n + if line_dict[property] is not None and property in (\'employee_share_price\',\n + \'employer_share_price\'):\n line_dict[property] = \'%s %%\' % (float(line_dict[property])*100)\n return line_dict\n \n @@ -92,8 +93,10 @@ property_list = [ \'slice\',\n \'base\',\n \'employer_share_price\',\n \'employer_share_quantity\',\n + \'employer_share_total_price\',\n \'employee_share_price\',\n \'employee_share_quantity\',\n + \'employee_share_total_price\',\n \'causality\',\n ]\n for line in line_list: \n diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision index cc4f7f3feba9cb8765296f4ce390a79adf482e95..1199cd493e5b0f7c20b1040406896a3f2004c700 100644 --- a/bt5/erp5_payroll/bt/revision +++ b/bt5/erp5_payroll/bt/revision @@ -1 +1 @@ -218 \ No newline at end of file +219 \ No newline at end of file