Issue 10589

Title
Do not pass more than IN_MAX as grouping filter of Move.compute_quantities_query
Priority
bug
Status
unread
Nosy list
ced, pokoli
Assigned to
Keywords

Created on 2021-07-20.11:21:39 by ced, last changed 3 months ago by pokoli.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-07-20.11:21:39

The list of ids is with an SQL IN clause so we must limit the size:

  • Lot.get_quantity
  • ShipmentInternal.generate_internal_shipment
  • Inventory.complete_lines
  • Sale.check_stock_quantity
History
Date User Action Args
2021-07-20 11:42:46pokolisetnosy: + pokoli
2021-07-20 11:21:39cedcreate