diff --git a/addons/stock/models/stock_move.py b/addons/stock/models/stock_move.py index ecdd4dab8c2..dfeaa578e1e 100644 --- a/addons/stock/models/stock_move.py +++ b/addons/stock/models/stock_move.py @@ -28,7 +28,7 @@ class StockMove(models.Model): return self.env['stock.picking'].browse(self.env.context['default_picking_id']).group_id.id return False - name = fields.Char('Description', index=True, required=True) + name = fields.Char('Description', required=True) sequence = fields.Integer('Sequence', default=10) priority = fields.Selection( PROCUREMENT_PRIORITIES, 'Priority', default='0', @@ -112,7 +112,7 @@ class StockMove(models.Model): price_unit = fields.Float( 'Unit Price', help="Technical field used to record the product cost set by the user during a picking confirmation (when costing " "method used is 'average price' or 'real'). Value given in company currency and in product uom.", copy=False) # as it's a technical field, we intentionally don't provide the digits attribute - backorder_id = fields.Many2one('stock.picking', 'Back Order of', related='picking_id.backorder_id', index=True, readonly=False) + backorder_id = fields.Many2one('stock.picking', 'Back Order of', related='picking_id.backorder_id', readonly=False) origin = fields.Char("Source Document") procure_method = fields.Selection([ ('make_to_stock', 'Default: Take From Stock'),