Commit 8c1bd2a2 authored by Jérome Perrin's avatar Jérome Perrin

'context' does not exists in DTML namespace.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13813 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1a7986de
......@@ -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
......
231
\ No newline at end of file
232
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment