[Erp5-report] r20576 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 16 17:04:46 CEST 2008


Author: nicolas
Date: Wed Apr 16 17:04:46 2008
New Revision: 20576

URL: http://svn.erp5.org?rev=20576&view=rev
Log:
test existing values

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getODTDataDict.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getODTDataDict.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getODTDataDict.xml?rev=20576&r1=20575&r2=20576&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getODTDataDict.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getODTDataDict.xml Wed Apr 16 17:04:46 2008
@@ -204,7 +204,7 @@
   \'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

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=20576&r1=20575&r2=20576&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Wed Apr 16 17:04:46 2008
@@ -1,1 +1,1 @@
-684
+685




More information about the Erp5-report mailing list