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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 18 09:19:16 CEST 2008


Author: jerome
Date: Thu Sep 18 09:19:14 2008
New Revision: 23681

URL: http://svn.erp5.org?rev=23681&view=rev
Log:
use getProperty, because the accessor might not be defined

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getRemainingTotalPayablePrice.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getRemainingTotalPayablePrice.xml?rev=23681&r1=23680&r2=23681&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getRemainingTotalPayablePrice.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Invoice_getRemainingTotalPayablePrice.xml Thu Sep 18 09:19:14 2008
@@ -151,7 +151,7 @@
 for related_transaction in related_transaction_list:\n
   if related_transaction.getSimulationState() not in simulation_state:\n
     continue\n
-  if related_transaction.getOriginId() == \'MAJO\':\n
+  if related_transaction.getProperty('origin_id') == \'MAJO\':\n
     continue\n
   \n
   # if we have a payment related to multiple invoices, we cannot say the\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=23681&r1=23680&r2=23681&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Thu Sep 18 09:19:14 2008
@@ -1,1 +1,1 @@
-773
+774




More information about the Erp5-report mailing list