diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml index f134703c75f8a38b35cada088598309b7c548a80..e6741eeeeee2e38b179d0bfb52a43e2764732525 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml @@ -95,6 +95,7 @@ params = {\n \'section_category\' : transaction_section_category,\n \'simulation_state\' : transaction_simulation_state,\n \'report_depth\' : 5,\n + \'section_portal_type_list\': [\'Organisation\']\n }\n \n params[\'hide_grouping\'] = request[\'omit_grouped_references\']\n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml index f6084739519a383ab871672384d6434daf415180..fbd1f734ae1f227f082896b6c1888ba5f29dc72c 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceSummary.xml @@ -76,6 +76,7 @@ get_inventory_kw[\'section_category\'] = selection_params.get(\'section_category 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 @@ getInventory = portal.portal_simulation.getInventoryAssetPrice\n 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 @@ list_item.edit(** {\n 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