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 02a7b698e9003ed317fc8b9ac04ad382237f751c..b0226bd08368b1d39f26d8ce8331c4c9c9309fac 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_zGetAccountingTransactionList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_zGetAccountingTransactionList.xml @@ -537,9 +537,9 @@ WHERE\n <dtml-if omit_output> AND stock.total_price > 0\n AND stock.uid = movement.uid\n </dtml-if>\n - <dtml-if expr="selection_name is not None and portal_selections.getSelectionInvertModeFor(selection_name) and len(context.portal_selections.getSelectionInvertModeUidListFor(selection_name)) > 0">\n + <dtml-if expr="selection_name is not None and portal_selections.getSelectionInvertModeFor(selection_name) and len(portal_selections.getSelectionInvertModeUidListFor(selection_name)) > 0">\n AND ( 0 = 1\n - <dtml-in expr="context.portal_selections.getSelectionInvertModeUidListFor(selection_name)">\n + <dtml-in expr="portal_selections.getSelectionInvertModeUidListFor(selection_name)">\n OR catalog.uid = <dtml-var sequence-item>\n </dtml-in>\n )\n @@ -723,9 +723,9 @@ WHERE\n <dtml-if omit_output> AND stock.total_price > 0\n AND stock.uid = movement.uid\n </dtml-if>\n - <dtml-if expr="selection_name is not None and portal_selections.getSelectionInvertModeFor(selection_name) and len(context.portal_selections.getSelectionInvertModeUidListFor(selection_name)) > 0">\n + <dtml-if expr="selection_name is not None and portal_selections.getSelectionInvertModeFor(selection_name) and len(portal_selections.getSelectionInvertModeUidListFor(selection_name)) > 0">\n AND ( 0 = 1\n - <dtml-in expr="context.portal_selections.getSelectionInvertModeUidListFor(selection_name)">\n + <dtml-in expr="portal_selections.getSelectionInvertModeUidListFor(selection_name)">\n OR catalog.uid = <dtml-var sequence-item>\n </dtml-in>\n )\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 565f1b06a1a6a367321480dffb082fb8709a4f31..7df2addf7bc9cd19503604ea1570ed91c6ffd0b8 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -231 \ No newline at end of file +232 \ No newline at end of file