From c121571ba2ca15440c683c3637bc2959db771b52 Mon Sep 17 00:00:00 2001 From: DavidJForgeFlow Date: Wed, 30 Nov 2022 12:58:14 +0100 Subject: [PATCH] [14.0][IMP] rma: pass product in create lot --- rma/views/rma_order_line_view.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/rma/views/rma_order_line_view.xml b/rma/views/rma_order_line_view.xml index e2bd79b2..803d3b81 100644 --- a/rma/views/rma_order_line_view.xml +++ b/rma/views/rma_order_line_view.xml @@ -12,7 +12,11 @@ - + @@ -36,7 +40,11 @@ - + @@ -186,6 +194,7 @@ name="lot_id" groups="stock.group_production_lot" attrs="{'required': [('product_tracking', 'in', ('serial', 'lot'))]}" + context="{'default_product_id': product_id,}" />