[Erp5-report] r22069 - in /erp5/trunk/bt5/erp5_trade: SkinTemplateItem/portal_skins/erp5_tr...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 30 11:05:42 CEST 2008


Author: jerome
Date: Mon Jun 30 11:05:42 2008
New Revision: 22069

URL: http://svn.erp5.org?rev=22069&view=rev
Log:
use getProperty instead of calling the accessor directly, getVatCode is not defined on persons

Modified:
    erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getODTDataDict.xml
    erp5/trunk/bt5/erp5_trade/bt/revision

Modified: erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getODTDataDict.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getODTDataDict.xml?rev=22069&r1=22068&r2=22069&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getODTDataDict.xml (original)
+++ erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Delivery_getODTDataDict.xml Mon Jun 30 11:05:42 2008
@@ -236,7 +236,8 @@
       context.getDestinationSection() and context.getDestinationSectionValue().getTelephoneText() or \'\',\n
       context.getDestinationSection() and context.getDestinationSectionValue().getTelephoneText() or \'\'),\n
   \'destination_section_email\': getEmail(context.getDestinationSection() and context.getDestinationSectionValue().getEmailText() or \'\'),\n
-  \'destination_section_vatid\': getVatId(context.getDestinationSection() and context.getDestinationSectionValue().getVatCode() or \'\'),\n
+  \'destination_section_vatid\': getVatId(context.getDestinationSection() and\n
+      context.getDestinationSectionValue().getProperty(\'vat_code\') or \'\'),\n
 \n
   \'destination_decision_title\': context.getDestinationDecisionTitle() or \'\',\n
   \'destination_decision_telfax\': getPhoneAndFax(context.getDestinationDecision() and context.getDestinationDecisionValue().getTelephoneText() or \'\',\n

Modified: erp5/trunk/bt5/erp5_trade/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/revision?rev=22069&r1=22068&r2=22069&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/revision (original)
+++ erp5/trunk/bt5/erp5_trade/bt/revision Mon Jun 30 11:05:42 2008
@@ -1,1 +1,1 @@
-399
+400




More information about the Erp5-report mailing list