Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: a0fa2a32 by Cédric Krier at 2024-09-18T13:46:10+02:00 Iterate only once to sort records by order clauses Instead of sorting the list multiple times applying order clause one by one in reverse order, the list is sorted only once using a key composed of all the order clauses. An operator is used to reverse the comparison instead of using the reverse keyword argument of sorted. Closes #13525 - - - - - 6cb920fb by Cédric Krier at 2024-09-18T13:51:16+02:00 Filter shipment moves before sorting them in the getters of Function field This way the filtering can benefit of the cache alignent before the order of the list is modified. Closes #13526 - - - - - 2 changed files: - modules/stock/shipment.py - trytond/trytond/model/order.py View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/e4d90c7952165c40321cdafeab9e151910496804...6cb920fb8e9d5e1ad45a15d9dfbf587de1bb48a1 -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/e4d90c7952165c40321cdafeab9e151910496804...6cb920fb8e9d5e1ad45a15d9dfbf587de1bb48a1 You're receiving this email because of your account on foss.heptapod.net.
