[Erp5-report] r14152 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Apr 21 01:38:09 CEST 2007
Author: jerome
Date: Sat Apr 21 01:38:07 2007
New Revision: 14152
URL: http://svn.erp5.org?rev=14152&view=rev
Log:
Make sure we have portal_type passed to getInventory*
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml?rev=14152&r1=14151&r2=14152&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_getAccountingTransactionList.xml Sat Apr 21 01:38:07 2007
@@ -94,6 +94,9 @@
params[\'node_category_strict_membership\'] = node_category_strict_membership\n
if node_category:\n
params[\'node_category\'] = node_category\n
+\n
+if not \'parent_portal_type\' in params:\n
+ params.setdefault(\'portal_type\', portal.getPortalAccountingMovementTypeList())\n
\n
# Create the related accouting line list\n
new_result = []\n
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml?rev=14152&r1=14151&r2=14152&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Node_statAccountingBalance.xml Sat Apr 21 01:38:07 2007
@@ -91,6 +91,9 @@
# XXX can be removed ?\n
if kw.get(\'where_expression\'):\n
params[\'where_expression\'] = kw[\'where_expression\']\n
+\n
+if not \'parent_portal_type\' in params:\n
+ params.setdefault(\'portal_type\', portal.getPortalAccountingMovementTypeList())\n
\n
# For expense or income accounts, we only take into account transactions from the\n
# beginning of the period.\n
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=14152&r1=14151&r2=14152&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Sat Apr 21 01:38:07 2007
@@ -1,1 +1,1 @@
-264
+265
More information about the Erp5-report
mailing list