From e5a82a112c07953457749abced5a7d35997e654e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 11 Jan 2006 07:44:19 +0000 Subject: [PATCH] Add a correct condition to use movement table. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5092 20353a03-c40f-0410-a6d1-a30d3c3de9de --- ...ingTransactionModule_zGetAccountingTransactionList.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_zGetAccountingTransactionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_zGetAccountingTransactionList.xml index 6820178c87..abc1d1e733 100755 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_zGetAccountingTransactionList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_zGetAccountingTransactionList.xml @@ -381,7 +381,7 @@ count=""</string> </value> <dtml-comment>do something to prevent having entity and section_category set at the same time</dtml-comment>\n <dtml-let section_category="not entity and section_category or \'\'">\n \n -<dtml-let use_movement_table="from_date or to_date or at_date or node or resource or stat or amount or amount_range_min or amount_range_max">\n +<dtml-let use_movement_table="from_date or to_date or at_date or node or resource or stat or amount or amount_range_min or amount_range_max or section_category">\n \n SELECT\n <dtml-if stat>\n @@ -400,7 +400,7 @@ FROM\n <dtml-if selection_report>, <dtml-var "selection_report.asSqlJoinExpression()"> </dtml-if>\n \n <dtml-if use_movement_table>, catalog AS child\n - , movement </dtml-if>\n + , movement </dtml-if>\n <dtml-if "entity or stat or section_category">, stock </dtml-if>\n <dtml-if node>, catalog AS source_account </dtml-if>\n <dtml-if resource>, catalog AS currency </dtml-if>\n @@ -513,7 +513,7 @@ WHERE\n <dtml-comment>do something to prevent having entity and section_category set at the same time</dtml-comment>\n <dtml-let section_category="not entity and section_category or \'\'">\n \n -<dtml-let use_movement_table="from_date or to_date or at_date or node or resource or stat or amount or amount_range_min or amount_range_max">\n +<dtml-let use_movement_table="from_date or to_date or at_date or node or resource or stat or amount or amount_range_min or amount_range_max or section_category">\n \n SELECT\n <dtml-if stat>\n @@ -532,7 +532,7 @@ FROM\n <dtml-if selection_report>, <dtml-var "selection_report.asSqlJoinExpression()"> </dtml-if>\n \n <dtml-if use_movement_table>, catalog AS child\n - , movement </dtml-if>\n + , movement </dtml-if>\n <dtml-if "entity or stat or section_category">, stock </dtml-if>\n <dtml-if node>, catalog AS source_account </dtml-if>\n <dtml-if resource>, catalog AS currency </dtml-if>\n -- 2.30.9