From 4330896edb70048b546c946ee80dcaa4b905b5b3 Mon Sep 17 00:00:00 2001 From: Patryk Pyczko Date: Tue, 14 Jan 2025 15:53:36 +0100 Subject: [PATCH] [IMP] fieldservice_stock: Compute move_ids from related pickings --- fieldservice_stock/models/fsm_order.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fieldservice_stock/models/fsm_order.py b/fieldservice_stock/models/fsm_order.py index b7654f083d..0914d16e8f 100644 --- a/fieldservice_stock/models/fsm_order.py +++ b/fieldservice_stock/models/fsm_order.py @@ -54,6 +54,7 @@ def _compute_picking_ids(self): lambda p: p.picking_type_id.code == "incoming" ) order.return_count = len(incoming_pickings.ids) + order.move_ids = order.picking_ids.mapped("move_lines") def action_view_delivery(self): """