From decf9667bb34aedcfd0fa6df05230ad31cc8e4ba Mon Sep 17 00:00:00 2001 From: DavidJForgeFlow Date: Thu, 9 Mar 2023 18:19:17 +0100 Subject: [PATCH] [FIX] rma: make picking product_uom_qty --- rma/wizards/rma_make_picking.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rma/wizards/rma_make_picking.py b/rma/wizards/rma_make_picking.py index 4663fa02..ce79afa3 100644 --- a/rma/wizards/rma_make_picking.py +++ b/rma/wizards/rma_make_picking.py @@ -227,7 +227,7 @@ class RmaMakePicking(models.TransientModel): ) move.move_line_ids.write( { - "product_uom_qty": 1, + "reserved_uom_qty": 1, "qty_done": 0, } ) @@ -246,7 +246,7 @@ class RmaMakePicking(models.TransientModel): "lot_id": move.rma_line_id.lot_id.id, "product_uom_id": move.product_id.uom_id.id, "qty_done": 0, - "product_uom_qty": qty, + "reserved_uom_qty": qty, } ) move_line_model.create(move_line_data)