Commit 979d7fb7 authored by Jérome Perrin's avatar Jérome Perrin

Added support for from_date AND to_date at the same time in getInventory*...

Added support for from_date AND to_date at the same time in getInventory* (only from_date and at_date was supported)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4522 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f9487f49
......@@ -204,6 +204,9 @@ class SimulationTool (BaseTool):
if to_date :
date_dict['query'].append(to_date)
date_dict['range'] = 'minmax'
elif at_date :
date_dict['query'].append(at_date)
date_dict['range'] = 'minngt'
elif to_date :
date_dict['query'].append(to_date)
date_dict['range'] = 'max'
......
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