odoo/addons/stock/test
Guewen Baconnier b5c8ced8ec [IMP] stock: Optimize stock_move.setlast_tracking()
When setlast_tracking is called on a large number of moves in a picking
(e.g.  when splitting moves in a picking), the time to complete grows
exponentially.  The reason is that it loops over all the moves of
a picking, even if it keeps only the last tracking.

The method now uses a search() with a limit so it doesn't need to browse
all the moves.

Added test to check the behaviour of setlast_tracking
Fixes #2448
2014-09-24 16:41:29 +02:00
..
opening_stock.yml [FIX] stock: inventory lines with no production lot: compare with correct stock level 2014-08-14 16:51:37 +02:00
setlast_tracking.yml [IMP] stock: Optimize stock_move.setlast_tracking() 2014-09-24 16:41:29 +02:00
shipment.yml [IMP] bring back the tests - backported from little after v7.0 in the trunk 2014-04-04 11:24:09 +02:00
stock_report.yml [FIX] revert to v7 report API 2014-04-04 11:52:02 +02:00
stock_users.yml [IMP] bring back the tests - backported from little after v7.0 in the trunk 2014-04-04 11:24:09 +02:00