Commit 790cf491 authored by Aurel's avatar Aurel

we must retrieve only validated object

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14724 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2f2dadea
......@@ -135,6 +135,7 @@ else:\n
start_date = context.getStartDate()\n
mapped_value = context.portal_domains.generateMappedValue(object, \n
has_cell_content=0, \n
validation_state=\'validated\',\n
sort_method=sort_by_date)\n
result = [getattr(mapped_value, \'base_price\', None), \n
getattr(mapped_value, \'discount\', None)]\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