[Erp5-report] r6377 - /erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_ac...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 31 01:45:15 CEST 2006
Author: kevin
Date: Fri Mar 31 01:45:13 2006
New Revision: 6377
URL: http://svn.erp5.org?rev=6377&view=rev
Log:
Use section_portal_type_list to break acquisition of 'group' property from Person to Organisation.
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml?rev=6377&r1=6376&r2=6377&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml Fri Mar 31 01:45:13 2006
@@ -76,6 +76,7 @@
get_inventory_kw[\'simulation_state\'] = selection_params.get(\'transaction_simulation_state\')\n
get_inventory_kw[\'node_category\'] = selection_params.get(\'gap_root\')\n
get_inventory_kw[\'omit_simulation\'] = 1\n
+get_inventory_kw[\'section_portal_type_list\'] = [\'Organisation\']\n
\n
no_start_date = DateTime(1970, 1, 1)\n
\n
@@ -86,7 +87,7 @@
list_item = newTempBase(portal, \'xxx\')\n
list_item.setUid(\'new_000\')\n
list_item.edit(** {\n
- # FIXME: here we do not want to sum all movement < 0, but sum the balances \n
+ # FIXME: here we do not want to sum all movement < 0, but sum the balances\n
# of all nodes whose which have a < 0 balance...\n
\'total_opening_debit_balance\' : getInventory(\n
at_date = selection_params.get(\'from_date\', no_start_date),\n
@@ -97,7 +98,7 @@
at_date = selection_params.get(\'from_date\', no_start_date),\n
omit_input = 1,\n
**get_inventory_kw) or 0,\n
- \n
+\n
\'total_closing_debit_balance\' : getInventory(\n
at_date = selection_params.get(\'at_date\'),\n
omit_output = 1,\n
More information about the Erp5-report
mailing list