diff --git a/addons/mrp/models/mrp_production.py b/addons/mrp/models/mrp_production.py index 309babb0364..cbcbf024057 100644 --- a/addons/mrp/models/mrp_production.py +++ b/addons/mrp/models/mrp_production.py @@ -74,7 +74,7 @@ class MrpProduction(models.Model): name = fields.Char( 'Reference', copy=False, readonly=True, default=lambda x: _('New')) priority = fields.Selection( - PROCUREMENT_PRIORITIES, string='Priority', default='0', index=True, + PROCUREMENT_PRIORITIES, string='Priority', default='0', help="Components will be reserved first for the MO with the highest priorities.") backorder_sequence = fields.Integer("Backorder Sequence", default=0, copy=False, help="Backorder sequence, if equals to 0 means there is not related backorder") origin = fields.Char( diff --git a/addons/stock/models/stock_move.py b/addons/stock/models/stock_move.py index 1545bd32345..ecdd4dab8c2 100644 --- a/addons/stock/models/stock_move.py +++ b/addons/stock/models/stock_move.py @@ -32,7 +32,7 @@ class StockMove(models.Model): sequence = fields.Integer('Sequence', default=10) priority = fields.Selection( PROCUREMENT_PRIORITIES, 'Priority', default='0', - compute="_compute_priority", store=True, index=True) + compute="_compute_priority", store=True) date = fields.Datetime( 'Date Scheduled', default=fields.Datetime.now, index=True, required=True, help="Scheduled date until move is done, then date of actual move processing") diff --git a/addons/stock/models/stock_picking.py b/addons/stock/models/stock_picking.py index 7e87cbe736d..d00395cc8f6 100644 --- a/addons/stock/models/stock_picking.py +++ b/addons/stock/models/stock_picking.py @@ -279,7 +279,7 @@ class Picking(models.Model): 'procurement.group', 'Procurement Group', readonly=True, related='move_lines.group_id', store=True) priority = fields.Selection( - PROCUREMENT_PRIORITIES, string='Priority', default='0', index=True, + PROCUREMENT_PRIORITIES, string='Priority', default='0', help="Products will be reserved first for the transfers with the highest priorities.") scheduled_date = fields.Datetime( 'Scheduled Date', compute='_compute_scheduled_date', inverse='_set_scheduled_date', store=True,