Arnold Moyaux
86cb78740b
[FIX] stock: picking to scratch location with BO
...
Usecase to reproduce:
- Create an internal picking from stock to scrap
- Add some scrap move inside due to scrap button in header
- Add some move with initial demand for future
- Mark the picking as done and validate it
- The wizard asking for a backorder appear -> Validate or No backorder
The moves with initial demand are duplicated(one new move for each
without intial demand nor quantity done)
A note is logged in the chatter with backorder False has been created.
There is a problem since _action_done on a scrap move from scrap model
will process the scrap move individualy but will create a back order
(commit e088acbc0f try to fix this issue)
However when we create a picking that goes to scrap location, the back
order will not be created since all moves are scrapped.
With the current configuration we can't guess in _action_done if
it comes from scrap or picking validate that goes to a scrap location.
The current solution is to use a context key in order to indicate if the
call come from picking validate or scrap. If it comes from scrap do not
create a back order no matter the case. If it comes from picking, follow
the standard beahvior with a backorder or not.
opw-1934835
2019-02-18 10:02:06 +00:00
..
2019-02-24 03:16:28 +01:00
2019-01-27 03:14:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2018-12-16 03:13:51 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2018-06-04 18:06:44 +02:00
2019-02-24 03:16:28 +01:00
2018-12-02 03:16:02 +01:00
2019-01-01 02:42:55 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-01 02:44:47 +01:00
2018-12-02 03:16:02 +01:00
2019-01-01 02:42:55 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-01-27 03:14:28 +01:00
2019-01-06 03:24:31 +01:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-10 03:13:22 +01:00
2019-02-17 03:14:20 +01:00
2019-01-23 16:05:02 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-01-06 03:24:31 +01:00
2018-12-02 03:16:02 +01:00
2018-12-30 03:12:33 +01:00
2019-02-01 02:44:47 +01:00
2019-02-24 03:16:28 +01:00
2019-01-01 02:42:55 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-10 03:13:22 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2018-12-01 02:45:01 +01:00
2019-01-06 03:24:31 +01:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2019-01-27 03:14:28 +01:00
2019-02-24 03:16:28 +01:00
2019-01-15 11:45:44 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2018-05-14 20:25:16 +02:00
2018-08-10 09:39:44 +02:00
2018-08-27 13:26:20 +02:00
2018-07-13 15:10:12 +02:00
2018-07-13 15:10:12 +02:00
2018-09-28 13:21:56 +00:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2018-07-24 10:45:46 +02:00
2018-07-24 10:45:46 +02:00
2018-12-11 16:20:34 +01:00
2019-01-04 12:37:01 +01:00
2019-01-24 12:24:04 +01:00
2019-01-23 16:05:02 +01:00
2019-01-23 16:40:41 +01:00
2019-01-15 12:50:44 +00:00
2018-07-24 10:45:46 +02:00
2018-07-24 10:45:46 +02:00
2018-10-31 18:31:53 +01:00
2018-07-24 10:45:46 +02:00
2018-09-26 11:28:33 +02:00
2018-09-26 11:28:33 +02:00
2018-07-26 15:15:12 +02:00
2018-07-26 15:14:17 +02:00
2018-07-26 15:14:17 +02:00
2018-11-29 08:14:11 +00:00
2018-09-17 14:15:46 +02:00
2018-07-24 10:45:46 +02:00
2019-01-24 15:59:47 +00:00
2018-06-05 15:10:45 +02:00
2019-02-08 13:33:03 +00:00
2018-08-21 16:00:40 +02:00
2018-06-04 11:30:49 +02:00
2018-09-20 12:34:51 +00:00
2018-09-14 16:42:55 +02:00
2019-02-14 18:42:19 +01:00
2018-09-28 19:10:04 +02:00
2018-09-28 19:10:04 +02:00
2019-02-01 02:44:47 +01:00
2019-02-13 07:02:46 +00:00
2019-01-02 10:49:56 +01:00
2018-12-27 10:45:53 +00:00
2018-07-24 10:45:46 +02:00
2018-07-24 10:45:46 +02:00
2018-10-31 17:23:32 +01:00
2018-07-24 10:45:46 +02:00
2018-09-03 12:05:30 +02:00
2018-11-07 08:37:41 +00:00
2019-02-19 07:59:25 +00:00
2018-10-31 17:23:32 +01:00
2019-02-01 02:44:47 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2018-12-16 03:13:51 +01:00
2018-12-16 03:13:51 +01:00
2019-02-10 03:13:22 +01:00
2019-02-24 03:16:28 +01:00
2019-01-27 03:14:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2018-12-01 02:45:01 +01:00
2019-01-01 02:42:55 +01:00
2018-12-01 02:45:01 +01:00
2019-02-24 03:16:28 +01:00
2019-01-01 02:42:55 +01:00
2019-02-24 03:16:28 +01:00
2019-01-06 03:24:31 +01:00
2019-01-01 02:42:55 +01:00
2019-02-10 03:13:22 +01:00
2018-12-09 03:15:09 +01:00
2019-01-15 11:45:44 +01:00
2019-01-27 03:14:28 +01:00
2019-02-24 03:16:28 +01:00
2019-01-27 03:14:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-10 03:13:22 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2018-12-02 03:16:02 +01:00
2019-01-27 03:14:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2019-02-24 03:16:28 +01:00
2019-02-10 03:13:22 +01:00
2019-02-01 02:44:47 +01:00
2019-01-27 03:14:28 +01:00
2019-01-01 02:42:55 +01:00
2019-02-24 03:16:28 +01:00
2019-01-06 03:24:31 +01:00
2019-02-24 03:16:28 +01:00
2018-11-19 15:23:00 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-01-24 07:12:33 +00:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2019-02-07 14:14:37 +00:00
2019-02-01 02:44:47 +01:00
2019-02-24 03:16:28 +01:00
2018-12-01 02:45:01 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-18 10:02:06 +00:00
2019-02-24 03:16:28 +01:00
2019-02-04 10:16:54 +00:00
2019-01-23 10:59:11 +00:00
2019-02-10 03:13:22 +01:00
2019-02-24 03:16:28 +01:00
2018-12-02 03:16:02 +01:00
2018-12-02 03:16:02 +01:00
2019-01-06 03:24:31 +01:00
2018-11-25 03:17:33 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-01-27 03:14:28 +01:00
2019-02-24 03:16:28 +01:00
2018-12-01 02:45:01 +01:00
2019-02-01 02:44:47 +01:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-01-27 03:14:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-01 02:44:47 +01:00
2019-01-27 03:14:28 +01:00
2018-08-01 02:42:16 +02:00
2018-12-01 02:45:01 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2018-12-02 03:16:02 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-02-24 03:16:28 +01:00
2019-02-17 03:14:20 +01:00
2019-02-17 03:14:20 +01:00
2019-02-17 03:14:20 +01:00
2019-02-17 03:14:20 +01:00
2019-02-17 03:14:20 +01:00
2019-01-18 13:12:36 +00:00
2019-02-24 03:16:28 +01:00
2018-12-01 02:45:01 +01:00
2019-02-01 02:44:47 +01:00