-
- Downloads
[IMP] stock: Improves stock_quand_package.unpack performance
Before this change, when a package was unpacked the SQL query into the method was looking up all the records into the stock_quant table to find duplicate entries. This could lead to severe performance issue on large database. With this change, if the method is called on a recordset, the SQL query will only try to find duplicate records for records with the same product's ids and location's ids than those in the recordset.
closes odoo/odoo#121839
Signed-off-by:
Tiffany Chang <tic@odoo.com>
Loading
Please register or sign in to comment