Commit a5bf29a2 authored by Kevin Deldycke's avatar Kevin Deldycke

Take care of description on preview update.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10939 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6327e204
......@@ -140,6 +140,7 @@ for service in paysheet_services:\n
, \'employer_share\': None\n
, \'employee_share\': None\n
, \'base\' : None\n
, \'description\' : None\n
}\n
\n
\n
......@@ -190,6 +191,7 @@ for line in updated_listbox:\n
employee_share = line[\'employee_share\']\n
employer_share = line[\'employer_share\']\n
base = line[\'base\']\n
description = line[\'description\']\n
if salary_range not in [None, \'\'] and \\\n
service_id not in [None, \'\'] and \\\n
base not in [None, \'\'] and \\\n
......@@ -201,6 +203,7 @@ for line in updated_listbox:\n
new_dict = { \'employer_share\': employer_share\n
, \'employee_share\': employee_share\n
, \'base\' : base\n
, \'description\' : description\n
}\n
update_kw[line_uid] = new_dict\n
\n
......@@ -264,6 +267,7 @@ for (preview_line_id, preview_line_item) in pre_calculation.items():\n
, salary_range = salary_range\n
, salary_range_title = context.portal_categories.resolveCategory(salary_range).getTitleOrId()\n
, tax_category = preview_line_item[\'tax_categories\']\n
, description = preview_line_item[\'description\']\n
)\n
preview_line_list.append(o)\n
\n
......@@ -365,6 +369,7 @@ return preview_line_list\n
<string>employee_share</string>
<string>employer_share</string>
<string>base</string>
<string>description</string>
<string>salary_range_id</string>
<string>line_uid</string>
<string>new_dict</string>
......
2006-10-25 Kevin
* Do not define base category twice.
* New portal types and forms dedicated to Payroll Service.
* Migration of all old service to the new Payroll Servicetype.
* Migration of all old service to the new Payroll Service type.
* Take care of description on preview update.
2006-10-24 Kevin
* So much things changed since the 0.1 version. Bump version to 0.2.
......
93
\ No newline at end of file
95
\ No newline at end of file
0.2.2
\ No newline at end of file
0.2.3
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment