Issue 9355

Title
Prevent doing move in the future
Priority
feature
Status
resolved
Nosy list
albertcuni, ced, mrichez, pokoli, reviewbot, roundup-bot
Assigned to
albertcuni
Keywords
review

Created on 2020-05-20.13:07:22 by ced, last changed 2 weeks ago by roundup-bot.

Messages

New changeset 5053904db7ea by Sergi Almacellas Abellana in branch 'default':
Prevent doing moves in the future
https://hg.tryton.org/tryton-env/rev/5053904db7ea
New changeset fa9e653fb9db by Sergi Almacellas Abellana in branch 'default':
Prevent doing moves in the future
https://hg.tryton.org/modules/stock/rev/fa9e653fb9db
Author: [hidden] (mrichez)
Date: 2020-05-20.14:14:46
indeed :-)
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-05-20.13:40:03
On 2020-05-20 13:19, Maxime Richez wrote:
> Does it concerns only effective_date on move?

Yes because planned date by definition is in the future most of the time.
Author: [hidden] (mrichez)
Date: 2020-05-20.13:19:48
Does it concerns only effective_date on move?
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-05-20.13:07:22
From: https://discuss.tryton.org/t/user-mistakes-when-introducing-dates-in-different-forms/2738
We have already the stock period to prevent to do move in the past. But indeed there is no reason to make stock move in the future. So we should add a validation (using the company timezone). This will prevent user mistakes.
History
Date User Action Args
2020-10-04 23:58:00roundup-botsetmessages: + msg60571
2020-10-04 23:57:55roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg60570
2020-09-08 11:28:37reviewbotsetmessages: + msg60017
2020-08-31 16:11:37reviewbotsetmessages: + msg59885
2020-08-18 12:20:56reviewbotsetmessages: + msg59774
2020-08-18 10:57:24reviewbotsetmessages: + msg59773
2020-08-14 14:44:35reviewbotsetmessages: + msg59737
2020-08-14 12:42:25reviewbotsetmessages: + msg59728
2020-08-14 09:55:20reviewbotsetmessages: + msg59725
2020-08-13 13:17:22reviewbotsetmessages: + msg59720

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