Arnold Moyaux
13708008ed
[FIX] stock: remove mto link when product is stolen
...
A lot of users don't understand why they can't reserve in MTO chain after
moving a product with an immediate transfer. It's due to the double check of
_action_assign that look where the move orig stored the product and
if the quants exist in this exact location. In our case the product was
moved so the match doesn't work.
We introduce an new parameter to check if modifying the behavior on
those cases could work. When _free_reservation is call on a
`stock.move.line`, we expect to never find it at this place
anymore (except if we bring it back). Then we drop the MTO link
for this step and use the MTS reservation.
WARNING, this parameter could remove too many mto links. e.g.
There is multiple stock.move.line linked to different locations
they will lose the link for product remaining in the same place.
closes odoo/odoo#155118
X-original-commit: af41b538d89a3c59c78f65c9174c7fbf4aa43922
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com >
2024-04-22 13:39:46 +00:00
..
2024-04-22 11:51:31 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-07 00:08:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-07 00:08:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-22 11:51:22 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-16 14:12:46 +00:00
2024-03-31 00:09:16 +01:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-03-27 17:45:00 +00:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-07 00:08:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-11 08:12:56 +00:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-19 09:20:26 +00:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-22 10:12:51 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-16 14:12:53 +00:00
2024-04-09 07:22:43 +00:00
2024-04-09 19:35:41 +00:00
2024-04-18 16:38:24 +00:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-22 11:51:30 +00:00
2024-04-21 00:08:43 +02:00
2024-04-11 16:43:19 +00:00
2024-04-22 11:51:27 +00:00
2024-04-18 11:18:46 +00:00
2024-04-09 23:14:46 +00:00
2024-03-29 10:44:21 +00:00
2024-04-11 08:13:00 +00:00
2024-04-20 01:36:02 +00:00
2024-04-19 14:40:10 +00:00
2024-04-11 15:02:49 +00:00
2024-04-16 07:02:58 +00:00
2024-03-29 15:35:03 +00:00
2024-04-11 15:02:48 +00:00
2024-04-21 18:14:37 +00:00
2024-04-14 09:28:07 +00:00
2024-04-10 20:56:59 +00:00
2024-04-08 11:13:51 +00:00
2024-04-15 09:10:18 +00:00
2024-04-17 22:47:07 +00:00
2024-04-20 17:39:55 +00:00
2024-04-22 08:27:09 +00:00
2024-04-14 21:02:42 +00:00
2024-04-09 15:06:45 +00:00
2024-03-31 00:33:23 +00:00
2024-04-02 12:09:28 +00:00
2024-04-10 11:45:53 +00:00
2024-04-04 08:18:55 +00:00
2024-03-29 07:53:02 +00:00
2024-04-11 08:12:51 +00:00
2024-04-22 11:51:23 +00:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-22 11:51:24 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-03-31 00:09:16 +01:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-18 07:28:29 +00:00
2024-04-21 00:08:43 +02:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-09 11:19:48 +00:00
2024-04-21 00:08:43 +02:00
2024-04-17 13:44:45 +00:00
2024-04-17 22:47:13 +00:00
2024-04-14 00:09:33 +02:00
2024-03-31 00:09:16 +01:00
2024-04-14 00:09:33 +02:00
2024-04-17 22:47:13 +00:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-03-31 00:09:16 +01:00
2024-03-31 00:09:16 +01:00
2024-03-31 00:09:16 +01:00
2024-03-31 00:09:16 +01:00
2024-04-14 00:09:33 +02:00
2024-04-17 22:47:13 +00:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-22 11:51:29 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-07 00:08:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-22 11:51:24 +00:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-16 16:18:44 +00:00
2024-04-21 00:08:43 +02:00
2024-04-07 00:08:33 +02:00
2024-04-22 08:27:06 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-22 08:27:10 +00:00
2024-04-22 11:51:22 +00:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-18 07:28:30 +00:00
2024-04-16 10:32:32 +00:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-07 00:08:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-05 12:18:14 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 09:42:54 +00:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-07 00:08:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-22 13:39:46 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-03-28 12:19:04 +00:00
2024-04-17 22:47:19 +00:00
2024-04-17 22:47:19 +00:00
2024-04-17 22:47:19 +00:00
2024-04-17 22:47:19 +00:00
2024-04-07 10:03:48 +00:00
2024-03-29 09:12:17 +00:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-22 10:12:50 +00:00
2024-04-22 10:12:55 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-22 10:12:54 +00:00
2024-04-19 23:49:48 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-07 00:08:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-22 08:27:05 +00:00
2024-04-14 00:09:33 +02:00
2024-03-31 00:09:16 +01:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-07 00:08:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-22 08:27:11 +00:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-16 14:12:52 +00:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00
2024-04-21 00:08:43 +02:00
2024-04-14 00:09:33 +02:00
2024-04-21 00:08:43 +02:00