[FIX] rma_sale_mrp: description

- When creating an RMA for a kit from the portal, the description was
lost for the components.
This commit is contained in:
david
2022-02-08 12:25:53 +01:00
parent ab55b717e1
commit 1470721cfb

View File

@@ -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
)