Commit 77f714fb authored by Romain Courteaud's avatar Romain Courteaud

erp5_core: use ExactMatch to search the sale trade condition reference

parent aaedb13e
......@@ -54,7 +54,7 @@ def _getEffectiveModel(self, start_date, stop_date):
return self
query_list = [
Query(reference=reference),
Query(reference={'query': reference, 'key': 'ExactMatch'}),
Query(portal_type=self.getPortalType()),
Query(validation_state=(
'validated',
......
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