From a325283caf07df837801d5e5472a4db65a8dbabd 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 191ee317..0d92c600 100644 --- a/rma_sale_mrp/views/sale_order_portal_template.xml +++ b/rma_sale_mrp/views/sale_order_portal_template.xml @@ -15,6 +15,10 @@ t-attf-name="#{data_index}-phantom_kit_line" t-att-value="1"/> + + + data.get('phantom_bom_product') and data['quantity'] or 0 + #{data.get('phantom_bom_product') and 'd-none'}