Tryton - Issues

 

Issue6371

Title Do not set effective date on assignation
Priority feature Status testing
Superseder Nosy List ced, ohuisman, reviewbot
Type feature request Components stock
Assigned To ced Keywords review
Reviews 36261002
View: 36261002

Created on 2017-03-16.17:58:55 by ced, last changed by ohuisman.

Messages
review36261002 updated at https://codereview.tryton.org/36261002/#ps1
msg32550 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-03-16.17:58:55
Currently the assignation process set an effective date to today to ensure that the quantity is reserved for now and any future request.
But the drawback is that assigned move can not stay longer as the day because the effective date will be in the past and the stock quantity computation will ignore it.

So a solution if we want to allow longer assignation is to not set the effective date on assigned move but to get the stock quantity computation always add assigned moves when stock_assign is set.
This behaviour can only be done when computing the stock quantity for a specific date. When it is delta computing we must follow the effective/planned date.
History
Date User Action Args
2017-03-17 15:17:21ohuismansetnosy: + ohuisman
2017-03-16 18:39:31reviewbotsetnosy: + reviewbot
messages: + msg32557
2017-03-16 18:21:57cedsetstatus: in-progress -> testing
reviews: 36261002
keyword: + review
2017-03-16 17:58:55cedcreate

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