From 64adb96bdf1a1ace5328a47e669f4d5a321a7b9f Mon Sep 17 00:00:00 2001 From: lreficent Date: Wed, 11 Oct 2017 17:41:32 +0200 Subject: [PATCH] [9.0][FIX] rma_sale: product might be changed when creating SO from RMA. --- rma_sale/wizards/rma_order_line_make_sale_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rma_sale/wizards/rma_order_line_make_sale_order.py b/rma_sale/wizards/rma_order_line_make_sale_order.py index bd89a778..aaf37f8d 100644 --- a/rma_sale/wizards/rma_order_line_make_sale_order.py +++ b/rma_sale/wizards/rma_order_line_make_sale_order.py @@ -139,7 +139,7 @@ class RmaLineMakeSaleOrderItem(models.TransientModel): comodel_name='rma.order', related='line_id.rma_id', string='RMA Order', readonly=True) product_id = fields.Many2one( - comodel_name='product.product', string='Product', readonly=True) + comodel_name='product.product', string='Product') name = fields.Char(string='Description', required=True, readonly=True) product_qty = fields.Float( string='Quantity to sell', digits=dp.get_precision('Product UoS'))