Commit 0b762e7f authored by Jérome Perrin's avatar Jérome Perrin

a price should not apply if price currencies are different

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27673 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5069a5f8
......@@ -57,7 +57,7 @@
# return a predicate that will never apply\n
return context.generatePredicate(criterion_property_list=(\'uid\',))\n
\n
base_category_tuple = (\'resource\',)\n
base_category_tuple = (\'resource\', \'price_currency\')\n
\n
if context.getSourceSection():\n
base_category_tuple += (\'source_section\',)\n
......
......@@ -57,7 +57,7 @@
# return a predicate that will never apply\n
return context.generatePredicate(criterion_property_list=(\'uid\',))\n
\n
base_category_tuple = (\'resource\',)\n
base_category_tuple = (\'resource\', \'price_currency\')\n
\n
if context.getSourceSection():\n
base_category_tuple += (\'source_section\',)\n
......
323
\ No newline at end of file
325
\ 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