Issue 10589

Title
Do not pass more than IN_MAX as grouping filter of Move.compute_quantities_query
Priority
bug
Status
resolved
Nosy list
ced, pokoli, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2021-07-20.11:21:39 by ced, last changed 1 month ago by roundup-bot.

Messages

New changeset 8cc0de56e2ca by Cédric Krier in branch 'default':
Limit size of grouping_filter ids
https://hg.tryton.org/tryton-env/rev/8cc0de56e2ca
New changeset f200f0a07bfd by Cédric Krier in branch 'default':
Limit size of grouping_filter ids
https://hg.tryton.org/modules/stock_supply/rev/f200f0a07bfd
New changeset 06398121ed9d by Cédric Krier in branch 'default':
Limit size of grouping_filter ids
https://hg.tryton.org/modules/stock_lot/rev/06398121ed9d
New changeset 5c6896abae16 by Cédric Krier in branch 'default':
Limit size of grouping_filter ids
https://hg.tryton.org/modules/stock/rev/5c6896abae16
New changeset 36af5e031a6c by Cédric Krier in branch 'default':
Limit size of grouping_filter ids
https://hg.tryton.org/modules/sale_stock_quantity/rev/36af5e031a6c
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-10-30 02:28:47roundup-botsetmessages: + msg71422
2021-10-30 02:28:38roundup-botsetmessages: + msg71421
2021-10-30 02:28:35roundup-botsetmessages: + msg71420
2021-10-30 02:28:32roundup-botsetmessages: + msg71419
2021-10-30 02:28:30roundup-botsetmessages: + msg71418
nosy: + roundup-bot
status: testing -> resolved
2021-10-27 22:27:39reviewbotsetmessages: + msg71330
nosy: + reviewbot
2021-10-27 22:09:18cedsetkeyword: + review
reviews: 379471002
status: in-progress -> testing
2021-10-27 22:07:16cedsetassignedto: ced
status: unread -> in-progress
2021-07-20 11:42:46pokolisetnosy: + pokoli
2021-07-20 11:21:39cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)