From 1790be2d1e73b10aba9556eec5dae60b425ec5da 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 f2daa31e..21a08327 100644 --- a/rma/views/rma_order_line_view.xml +++ b/rma/views/rma_order_line_view.xml @@ -8,7 +8,11 @@ - + @@ -29,7 +33,11 @@ - + @@ -179,6 +187,7 @@ name="lot_id" groups="stock.group_production_lot" attrs="{'required': [('product_tracking', 'in', ('serial', 'lot'))]}" + context="{'default_product_id': product_id,}" />