Commit dc6bfffa authored by Gabriel Monnerat's avatar Gabriel Monnerat

sort the search to get the last one created

parent 8649af5a
......@@ -6249,6 +6249,7 @@ class TestVifibSlapWebService(testVifibMixin):
operator="AND")
software_instance = self.portal.portal_catalog.getResultValue(
portal_type="Sale Packing List Line",
sort_on=(('movement.start_date', 'DESC'),),
query=query).getAggregateValue(portal_type="Software Instance")
return software_instance
......
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