Commit a24b8861 authored by Xiaowu Zhang's avatar Xiaowu Zhang

builder: it seems range nlt search which is great than, not include the equal one

parent 6d7d689a
......@@ -496,8 +496,8 @@ class BuilderMixin(XMLObject, Amount, Predicate):
def chooseCorrectSupply(default_supply,start_date_range_min,start_date_range_max):
search_dict = {
'predicate.start_date_range_min':{'query':start_date_range_min, 'range':'ngt'},
'predicate.start_date_range_max':{'query':start_date_range_max, 'range':'nlt'},
'predicate.start_date_range_min':{'query':start_date_range_min, 'range':'<='},
'predicate.start_date_range_max':{'query':start_date_range_max, 'range':'>='},
}
stock_definition_supply_list = portal.portal_catalog(
portal_type=('Purchase Supply Cell', 'Purchase Supply Line'),
......
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