From 6f49bad7c7b759903e88511d98000bf26feea50f Mon Sep 17 00:00:00 2001 From: david Date: Tue, 25 May 2021 15:52:23 +0200 Subject: [PATCH] [FIX] rma_sale_mrp: portal rma We must inform the component line maximum qty to return so we're able to properly discount every line on the wizard TT29876 --- rma_sale_mrp/views/sale_order_portal_template.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rma_sale_mrp/views/sale_order_portal_template.xml b/rma_sale_mrp/views/sale_order_portal_template.xml index 2052838d..8af2822b 100644 --- a/rma_sale_mrp/views/sale_order_portal_template.xml +++ b/rma_sale_mrp/views/sale_order_portal_template.xml @@ -25,6 +25,10 @@ t-att-value="1" /> + + + data.get('phantom_bom_product') and data['quantity'] or 0 +