From 8868e14e54c8a2cbb7c52b0823832367735d9ac7 Mon Sep 17 00:00:00 2001 From: William Henrotin Date: Tue, 2 Apr 2019 06:34:53 +0000 Subject: [PATCH] [IMP] stock: priority widget Use the priority widget (the yellow stars) to represent the priority field on stock.picking Task: 1942231 Co-Authored-By: Hetal Dhanak --- addons/stock/models/stock_picking.py | 2 +- addons/stock/views/stock_picking_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/models/stock_picking.py b/addons/stock/models/stock_picking.py index 4c5a280034c..cdb05ca127b 100644 --- a/addons/stock/models/stock_picking.py +++ b/addons/stock/models/stock_picking.py @@ -218,7 +218,7 @@ class Picking(models.Model): # default='1', required=True, # TDE: required, depending on moves ? strange index=True, tracking=True, states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}, - help="Priority for this picking. Setting manually a value here would set it as priority for all the moves") + 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, index=True, tracking=True, diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index 171d4c1a842..4a7715e5b09 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -329,7 +329,7 @@ - +