Issue 10889

Title
Update early date based on internal incoming requests
Priority
feature
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2021-10-20.18:11:02 by ced, last changed 2 months ago by roundup-bot.

Messages

New changeset 5c8ec548dd66 by Cédric Krier in branch 'default':
Use the same name to call super method
https://hg.tryton.org/tryton-env/rev/5c8ec548dd66
New changeset e351c5b42325 by Cédric Krier in branch 'default':
Use the same name to call super method
https://hg.tryton.org/modules/stock_quantity_early_planning/rev/e351c5b42325
New changeset 187434d34386 by Cédric Krier in branch 'default':
Update early date base on internal incoming requests
https://hg.tryton.org/tryton-env/rev/187434d34386
New changeset 6484009f8d37 by Cédric Krier in branch 'default':
Update early date base on internal incoming requests
https://hg.tryton.org/modules/stock_quantity_early_planning/rev/6484009f8d37
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-10-20.18:11:02

When computing the early planning some moves optimization are limited by the requests they generate like a production or an internal shipment. This is because Tryton always plan the supply to arrive on the planned date.
So the idea is to make a second pass on the early plan of move to find if there is a internal incoming request that could be planned earlier for at least the quantity of the move. If so then we could update the early date plan of the move to use the same date as the earlier date of the request plan.
If we do so for all the moves by ascending planned date, we should have a better proposal and the requests will be recreated with a better planned date.
We can do that only with internal shipment and production still in request state as they are the only one that will be recreated on the next supply computation. The other states like draft will have to be manually re-planned.

History
Date User Action Args
2021-11-16 10:26:22roundup-botsetmessages: + msg71684
2021-11-16 10:26:19roundup-botsetmessages: + msg71683
2021-11-13 01:48:47roundup-botsetmessages: + msg71648
2021-11-13 01:48:42roundup-botsetmessages: + msg71647
nosy: + roundup-bot
status: testing -> resolved
2021-10-20 19:01:06reviewbotsetmessages: + msg71146
nosy: + reviewbot
2021-10-20 18:52:51cedsetkeyword: + review
reviews: 385251002
status: in-progress -> testing
2021-10-20 18:11:02cedcreate

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