Commit dcb14e75 authored by Nicolas Delaby's avatar Nicolas Delaby

Test existing values before calling method in them

Fix wrong deleted action in last commit

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20575 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aea7bc53
......@@ -219,7 +219,7 @@ data_dict = {\n
\'destination_email\': getEmail(context.getDestination() and context.getDestinationValue().getEmailText() or \'\'),\n
\n
\'destination_section_title\': unicode(context.getDestinationSectionTitle() or \'\', \'utf8\'),\n
\'destination_section_image_path\': context.getDestinationSectionValue().getDefaultImagePath(),\n
\'destination_section_image_path\': context.getDestinationSectionValue() is not None and context.getDestinationSectionValue().getDefaultImagePath() or \'\',\n
\'destination_section_address\': unicode(getOneLineAddress(\n
context.getDestinationSection() and context.getDestinationSectionValue().getDefaultAddressText() or \'\',\n
context.getDestinationSection() and context.getDestinationSectionValue().getDefaultAddressRegionTitle() or \'\'), \'utf8\'),\n
......
......@@ -203,7 +203,7 @@ data_dict = {\n
\'destination_email\': getEmail(context.getDestination() and context.getDestinationValue().getEmailText() or \'\'),\n
\n
\'destination_section_title\': unicode(context.getDestinationSectionTitle() or \'\', \'utf8\'),\n
\'destination_section_image_path\': context.getDestinationSectionValue().getDefaultImagePath(),\n
\'destination_section_image_path\': context.getDestinationSectionValue() is not None and context.getDestinationSectionValue().getDefaultImagePath() or \'\',\n
\'destination_section_address\': unicode(getOneLineAddress(\n
context.getDestinationSection() and context.getDestinationSectionValue().getDefaultAddressText() or \'\',\n
context.getDestinationSection() and context.getDestinationSectionValue().getDefaultAddressRegionTitle() or \'\'), \'utf8\'),\n
......
287
\ No newline at end of file
289
\ No newline at end of file
......@@ -108,6 +108,7 @@ Sale Packing List Module | view
Sale Packing List Module | workflow_report
Sale Packing List | choose_solve_actions
Sale Packing List | container_fast_input
Sale Packing List | details
Sale Packing List | jump_related_sale_invoice
Sale Packing List | packing_list_print
Sale Packing List | view
......
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