[9.0][FIX] rma_sale: product might be changed when creating SO from RMA.

This commit is contained in:
lreficent
2017-10-11 17:41:32 +02:00
committed by ahenriquez
parent acd7f9b97b
commit 64adb96bdf

View File

@@ -139,7 +139,7 @@ class RmaLineMakeSaleOrderItem(models.TransientModel):
comodel_name='rma.order', related='line_id.rma_id', comodel_name='rma.order', related='line_id.rma_id',
string='RMA Order', readonly=True) string='RMA Order', readonly=True)
product_id = fields.Many2one( 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) name = fields.Char(string='Description', required=True, readonly=True)
product_qty = fields.Float( product_qty = fields.Float(
string='Quantity to sell', digits=dp.get_precision('Product UoS')) string='Quantity to sell', digits=dp.get_precision('Product UoS'))