Nicolas Lempereur
b2b395467f
[FIX] delivery: picking weight not updated sometime
...
The delivery lines (move_lines) have two way to be displayed in a view:
- with move_lines (all move line of a stock.picking)
- with move_ids_without_package (same but removing packages)
But so if we write directly on move_ids_without_package we would not
trigger the stock.picking @api.depends('move_lines') _cal_weight method
thus the picking weight was not updated in some instances.
With this changeset, we adds the move_ids_without_package as depends so
on move_ids_without_package onchange the total weight should be set to
the correct weight or 0 (if move_lines is not in the view) and on write
the correct weight should be computed.
opw-1959523
closes #32157
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com >
2019-03-27 11:43:51 +00:00
..
2019-03-27 13:16:56 +00:00
2019-03-17 03:13:11 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-02-11 14:02:10 +00:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-02-24 01:37:50 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-02-24 01:37:50 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-25 18:28:16 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-17 01:22:27 +01:00
2019-03-27 11:43:51 +00:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-17 01:22:27 +01:00
2019-03-25 18:28:16 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-10 03:14:20 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-10 01:36:03 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-10 03:14:20 +01:00
2019-03-25 10:53:25 +00:00
2019-01-15 15:23:24 +00:00
2019-02-28 12:39:03 +00:00
2019-01-15 15:23:24 +00:00
2019-03-18 14:17:54 +01:00
2019-03-17 01:22:27 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-01-11 14:25:42 +00:00
2019-01-25 17:29:34 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:53:59 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:22:56 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 08:10:49 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:02:28 +00:00
2019-02-08 06:02:37 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:48:18 +00:00
2019-03-13 16:52:40 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-14 13:14:07 +00:00
2019-02-08 08:19:33 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 07:25:46 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:26:51 +00:00
2019-02-20 13:40:48 +01:00
2019-02-21 10:06:42 +00:00
2019-03-13 16:52:40 +01:00
2019-02-28 12:39:03 +00:00
2019-03-17 01:22:27 +01:00
2019-03-18 16:51:57 +01:00
2019-03-26 13:26:37 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:07:07 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:11:19 +00:00
2019-02-28 12:39:03 +00:00
2019-03-25 18:28:16 +01:00
2019-02-28 12:39:03 +00:00
2019-02-19 07:59:25 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-25 15:12:00 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-25 16:47:05 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-03 01:36:23 +01:00
2019-03-24 03:11:51 +01:00
2019-03-25 18:28:16 +01:00
2019-03-17 01:22:27 +01:00
2019-03-17 03:13:11 +01:00
2019-03-24 03:11:51 +01:00
2019-03-10 03:14:20 +01:00
2019-03-24 01:24:01 +01:00
2019-03-03 03:15:43 +01:00
2019-03-24 01:24:01 +01:00
2019-03-26 11:10:52 +00:00
2019-03-25 16:47:05 +01:00
2019-03-17 03:13:11 +01:00
2019-03-17 03:13:11 +01:00
2019-03-17 03:13:11 +01:00
2019-03-24 01:24:01 +01:00
2019-03-17 03:13:11 +01:00
2019-03-17 03:13:11 +01:00
2019-03-25 18:28:16 +01:00
2019-03-17 03:13:11 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-02-28 12:39:03 +00:00
2019-03-01 02:45:39 +01:00
2019-03-24 01:24:01 +01:00
2019-02-28 12:39:03 +00:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-10 03:14:20 +01:00
2019-03-26 10:45:28 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-17 03:13:11 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-25 13:26:41 +00:00
2019-03-17 03:13:11 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-27 07:16:25 +00:00
2019-03-24 03:11:51 +01:00
2019-03-27 13:16:56 +00:00
2019-03-24 03:11:51 +01:00
2019-03-10 03:14:20 +01:00
2019-03-24 03:11:51 +01:00
2019-03-17 01:22:27 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-10 01:36:03 +01:00
2019-03-26 09:32:43 +00:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-17 01:22:27 +01:00
2019-03-24 03:11:51 +01:00
2019-02-28 12:39:03 +00:00
2019-03-25 18:28:16 +01:00
2019-01-29 19:24:03 +01:00
2019-03-07 10:30:54 +00:00
2019-03-10 01:36:03 +01:00
2019-02-28 12:39:03 +00:00
2019-03-10 03:14:20 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-25 14:42:28 +00:00
2019-03-10 03:14:20 +01:00
2019-03-25 18:28:16 +01:00
2019-02-28 12:39:03 +00:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-25 10:53:25 +00:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-10 03:14:20 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-10 03:14:20 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-10 03:14:20 +01:00
2019-03-24 01:24:01 +01:00
2019-03-17 03:13:11 +01:00
2019-03-24 03:11:51 +01:00
2019-03-26 03:53:59 +00:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00
2019-03-10 03:14:20 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 03:11:51 +01:00
2019-03-24 01:24:01 +01:00
2019-03-24 01:24:01 +01:00