Commit 28017073 authored by Fabien Morin's avatar Fabien Morin

remove destination_decision from the getODTDataDict, this is not used currently.

This permit to print paysheets with company that don't have logo.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26206 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 852dfb00
......@@ -356,13 +356,6 @@ data_dict = {\n
getEmail(destination_administration.getProperty(\'email_text\', \'\')),\n
\'destination_administration_vatid\':\n
getVatId(destination_administration.getProperty(\'vat_code\', \'\')),\n
\n
\'destination_decision_title\': context.getDestinationDecisionTitle() or \'\',\n
\'destination_decision_telfax\': getPhoneAndFax(context.getDestinationDecision() and\n
context.getDestinationDecisionValue().getTelephoneText() or \'\',\n
context.getDestinationDecision() and context.getDestinationDecisionValue().getFaxText() or \'\'),\n
\'destination_decision_email\': getEmail(context.getDestinationDecision() and\n
context.getDestinationDecisionValue().getEmailText() or \'\'),\n
\n
\'reference\': context.getReference() or \'\',\n
\'start_date\': getOrderedDate(context.getStartDate()) or \'\',\n
......
......@@ -323,9 +323,9 @@ AAA=</string> </value>
my_period python: unicode(here.Base_translateString(orig_period,\n
mapping = {\'start_date\': date_renderer(here.getStartDate()),\n
\'stop_date\': date_renderer(here.getStopDate())}), \'utf-8\');\n
image_path python: here.getPortalType().startswith(\'Pay Sheet Transaction\') and data_dict[\'destination_section_image_path\'] or (data_dict[\'destination_decision_image_path\'] or data_dict[\'destination_section_image_path\']);\n
image_width python: here.getPortalType().startswith(\'Pay Sheet Transaction\') and data_dict[\'destination_section_image_width\'] or (data_dict[\'destination_decision_image_width\'] or data_dict[\'destination_section_image_width\']);\n
image_height python: here.getPortalType().startswith(\'Pay Sheet Transaction\') and data_dict[\'destination_section_image_height\'] or (data_dict[\'destination_decision_image_height\'] or data_dict[\'destination_section_image_height\'])">\n
image_path python: here.getPortalType().startswith(\'Pay Sheet Transaction\') and data_dict[\'destination_section_image_path\'] or data_dict[\'destination_section_image_path\'];\n
image_width python: here.getPortalType().startswith(\'Pay Sheet Transaction\') and data_dict[\'destination_section_image_width\'] or data_dict[\'destination_section_image_width\'];\n
image_height python: here.getPortalType().startswith(\'Pay Sheet Transaction\') and data_dict[\'destination_section_image_height\'] or data_dict[\'destination_section_image_height\']">\n
<table:table table:name="Tableau4" table:style-name="Tableau4">\n
<table:table-column table:style-name="Tableau4.A"/>\n
<table:table-column table:style-name="Tableau4.B"/>\n
......
379
\ No newline at end of file
383
\ 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