Commit 5f37d4f0 authored by Fabien Morin's avatar Fabien Morin

- fix image problem on odg document.

- use company title if corporate_name is not found

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32081 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f4cf9bf5
...@@ -131,7 +131,8 @@ data_dict = {\n ...@@ -131,7 +131,8 @@ data_dict = {\n
\'preferred_organisation_image_path\': getPreferredOrganisation() is not None\\\n \'preferred_organisation_image_path\': getPreferredOrganisation() is not None\\\n
and getPreferredOrganisation().getDefaultImageAbsoluteUrl() or \'\',\n and getPreferredOrganisation().getDefaultImageAbsoluteUrl() or \'\',\n
\'preferred_organisation_corporate_name\': getPreferredOrganisation() is not None\\\n \'preferred_organisation_corporate_name\': getPreferredOrganisation() is not None\\\n
and getPreferredOrganisation().getCorporateName() or \'\',\n and (getPreferredOrganisation().getCorporateName() or\\\n
getPreferredOrganisation().getTitle()) or \'\',\n
\'preferred_organisation_address\': getOneLineAddress(\n \'preferred_organisation_address\': getOneLineAddress(\n
getPreferredOrganisation() is not None and\\\n getPreferredOrganisation() is not None and\\\n
getPreferredOrganisation().getDefaultAddressText() or \'\',\n getPreferredOrganisation().getDefaultAddressText() or \'\',\n
......
This source diff could not be displayed because it is too large. You can view the blob instead.
251 252
\ No newline at end of file \ 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