From 1470721cfb0d30ccf260fccadf9b8a53e665b3d5 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 8 Feb 2022 12:25:53 +0100 Subject: [PATCH] [FIX] rma_sale_mrp: description - When creating an RMA for a kit from the portal, the description was lost for the components. --- rma_sale_mrp/wizard/sale_order_rma_wizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rma_sale_mrp/wizard/sale_order_rma_wizard.py b/rma_sale_mrp/wizard/sale_order_rma_wizard.py index be80473a..2fcc0247 100644 --- a/rma_sale_mrp/wizard/sale_order_rma_wizard.py +++ b/rma_sale_mrp/wizard/sale_order_rma_wizard.py @@ -68,6 +68,7 @@ class SaleOrderRmaWizard(models.TransientModel): for kit_line in product_kit_component_lines: kit_line.quantity = min(qty_to_return, kit_line.quantity) kit_line.operation_id = line.operation_id + kit_line.description = line.description kit_line.kit_qty_done = ( kit_line.quantity / kit_line.per_kit_quantity )