Commit 370c6799 authored by Romain Courteaud's avatar Romain Courteaud Committed by Kazuhiko Shiozaki

erp5_core: use ExactMatch to search the sale trade condition reference

parent 8af18409
......@@ -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