# Stock Moves in the future

**URL:** https://discuss.tryton.org/t/stock-moves-in-the-future/6204
**Category:** System Administrator
**Tags:** stock
**Created:** [May 30, 2023, 1:12pm UTC](https://discuss.tryton.org/t/stock-moves-in-the-future/6204 "2023-05-30T13:12:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jgras](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jgras/32/285_2.png) [@jgras](https://discuss.tryton.org/u/jgras)
#### Post date: [May 30, 2023, 1:12pm UTC](https://discuss.tryton.org/t/stock-moves-in-the-future/6204/1 "2023-05-30T13:12:17Z")

</div>

Hello,  
I wanted to start a little discussion: It is factually correct that a stock.move is not done in the future. Therefore, the warning of an effective date in the future is correct.  
But now to the always stubborn practice: In our company it often happens that an employee in the late shift finishes all the papers that a driver needs in order to deliver in the ungodly early morning.  
Would it be conceivable to include a setting for when the future begins for a particular company? At the moment, unfortunately, the inner method in\_future() cannot be accessed well - making it a class method would actually be enough.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [May 30, 2023, 1:21pm UTC](https://discuss.tryton.org/t/stock-moves-in-the-future/6204/2 "2023-05-30T13:21:47Z")

</div>

> [@jgras](#):
>
> But now to the always stubborn practice: In our company it often happens that an employee in the late shift finishes all the papers that a driver needs in order to deliver in the ungodly early morning.

Why not just leaving the shipment as packed (so all the documents are ready) and then finish the shipments in the future? That shold be enougth to avoid the warning.

If that does not work for you, you can create some custom code that creates a record in `res.user.warning` with the same name as that the shipment will generate. That will skip the warning for the user.

Cheers!

---

<div class="post-metadata">

### Author: ![jgras](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jgras/32/285_2.png) [@jgras](https://discuss.tryton.org/u/jgras)
#### Post date: [May 30, 2023, 1:35pm UTC](https://discuss.tryton.org/t/stock-moves-in-the-future/6204/3 "2023-05-30T13:35:55Z")

</div>

The truck is loaded, the papers are printed out - mentally the delivery is completed. The office team goes home, the driver arrives a few hours later (the next day). As I said - this is definitely not a generic problem.  
I didn’t even think of the UserWarning idea. So it was worth asking after all 🙂  
Thanks.

---

<div class="post-metadata">

### Author: ![dotbit](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/dotbit/32/2093_2.png) [@dotbit](https://discuss.tryton.org/u/dotbit)
#### Post date: [September 22, 2023, 11:43am UTC](https://discuss.tryton.org/t/stock-moves-in-the-future/6204/4 "2023-09-22T11:43:00Z")

</div>

> [@pokoli](#):
>
> Why not just leaving the shipment as packed (so all the documents are ready) and then finish the shipments in the future? That shold be enougth to avoid the warning.

This is what I do and it works well for me.  
I pack the shipment (both physically and in tryton), print the delivery note and put it in a clipboard so that the driver who picks up can sign it.

If I do the delivery I take the signed paper and click done on the shipment right away, otherwise I click done once I file the signed delivery note.
