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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 28 09:49:30 CET 2008


Author: jerome
Date: Fri Mar 28 09:49:29 2008
New Revision: 20186

URL: http://svn.erp5.org?rev=20186&view=rev
Log:
change the way we get the title on the line if defined on the line, and on the delivery otherwise, because line.getTitle() now always return something

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml?rev=20186&r1=20185&r2=20186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_getJournalSectionLineList.xml Fri Mar 28 09:49:29 2008
@@ -127,7 +127,7 @@
     else:\n
       specific_reference = transaction.getDestinationReference()\n
     displayed_transaction[transaction.getUid()] = 1\n
-    title = mvt.getTitle() or transaction.getTitle()\n
+    title = mvt.hasTitle() and mvt.getTitle() or transaction.getTitle()\n
     date = brain.date\n
   else:\n
     specific_reference = \'\'\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=20186&r1=20185&r2=20186&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Fri Mar 28 09:49:29 2008
@@ -1,1 +1,1 @@
-662
+663




More information about the Erp5-report mailing list