Commit eca39694 authored by Kevin Deldycke's avatar Kevin Deldycke

Use where_expression instead of my previous hack.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6696 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 732e9d06
...@@ -105,7 +105,7 @@ for account in portal.portal_categories.account_type.income\\\n ...@@ -105,7 +105,7 @@ for account in portal.portal_categories.account_type.income\\\n
, simulation_state = [\'stopped\', \'delivered\']\n , simulation_state = [\'stopped\', \'delivered\']\n
, section_uid = section_uid\n , section_uid = section_uid\n
, at_date = at_date\n , at_date = at_date\n
, section_portal_type_list = [\'Organisation\']\n , where_expression = " section.portal_type = \'Organisation\' "\n
)\n )\n
quantity = quantity or 0.0\n quantity = quantity or 0.0\n
total_quantity += context.Base_getRoundValue(quantity, precision)\n total_quantity += context.Base_getRoundValue(quantity, precision)\n
......
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