[Erp5-report] r32713 kazuhiko - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 18 07:19:13 CET 2010


Author: kazuhiko
Date: Thu Feb 18 07:19:10 2010
New Revision: 32713

URL: http://svn.erp5.org?rev=32713&view=rev
Log:
* count number of unique mirror sections only in preparing listbox column list.

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

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getListBoxColumnList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getListBoxColumnList.xml?rev=32713&r1=32712&r2=32713&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getListBoxColumnList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getListBoxColumnList.xml [utf8] Thu Feb 18 07:19:10 2010
@@ -64,10 +64,12 @@
 section_dict = {None: 1}\n
 payment_dict = {None: 1}\n
 for line in context.getMovementList():\n
-  section_dict[line.getSourceSection()] = 1\n
-  section_dict[line.getDestinationSection()] = 1\n
-  payment_dict[line.getSourcePayment()] = 1\n
-  payment_dict[line.getDestinationPayment()] = 1\n
+  if source:\n
+    section_dict[line.getDestinationSection()] = 1\n
+    payment_dict[line.getDestinationPayment()] = 1\n
+  else:\n
+    section_dict[line.getSourceSection()] = 1\n
+    payment_dict[line.getSourcePayment()] = 1\n
 \n
 if context.getSourcePayment() or context.getDestinationSection():\n
   min_payment_count = 2\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/change_log?rev=32713&r1=32712&r2=32713&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/change_log [utf8] Thu Feb 18 07:19:10 2010
@@ -1,3 +1,6 @@
+2010-02-18 Kazuhiko
+* count number of unique mirror sections only in preparing listbox column list.
+
 2009-12-14 yusei
 * Fix group type on Sale Invoice Transaction.
 

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=32713&r1=32712&r2=32713&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Thu Feb 18 07:19:10 2010
@@ -1,1 +1,1 @@
-1109
+1110




More information about the Erp5-report mailing list