[Erp5-report] r6475 - /erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_ac...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 5 19:03:56 CEST 2006
Author: jerome
Date: Wed Apr 5 19:03:48 2006
New Revision: 6475
URL: http://svn.erp5.org?rev=6475&view=rev
Log:
get dates, section and simulation states from selection (for reports)
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml?rev=6475&r1=6474&r2=6475&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getAccountingTransactionList.xml Wed Apr 5 19:03:48 2006
@@ -73,10 +73,14 @@
\n
# Read settings from user preference\n
preference = context.getPortalObject().portal_preferences\n
-simulation_state = preference.getPreferredAccountingTransactionSimulationStateList()\n
-section_category = preference.getPreferredAccountingTransactionSectionCategory()\n
-from_date = preference.getPreferredAccountingTransactionFromDate()\n
-at_date = preference.getPreferredAccountingTransactionAtDate()\n
+simulation_state = kw.get(\'simulation_state\', \n
+ preference.getPreferredAccountingTransactionSimulationStateList())\n
+section_category = kw.get(\'section_category\', \n
+ preference.getPreferredAccountingTransactionSectionCategory())\n
+from_date = kw.get(\'from_date\',\n
+ preference.getPreferredAccountingTransactionFromDate())\n
+at_date = kw.get(\'at_date\',\n
+ preference.getPreferredAccountingTransactionAtDate())\n
\n
# Build the common inventory dict\n
params = {}\n
More information about the Erp5-report
mailing list