From 7eff8d39a741fdb8690fb7c4e7298ecef0264694 Mon Sep 17 00:00:00 2001 From: Darshil Trivedi Date: Thu, 19 Apr 2018 18:03:52 +0530 Subject: [PATCH] [IMP] stock: add scheduled date on picking. When a picking is in 'Done' state, we add the effective date on the form in addition to the effective date. The user can know the date when the picking was effectively made. --- addons/stock/models/stock_picking.py | 2 +- addons/stock/views/stock_picking_views.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/stock/models/stock_picking.py b/addons/stock/models/stock_picking.py index 0c08bc43a36..e88ccb681d6 100644 --- a/addons/stock/models/stock_picking.py +++ b/addons/stock/models/stock_picking.py @@ -229,7 +229,7 @@ class Picking(models.Model): default=fields.Datetime.now, index=True, track_visibility='onchange', states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}, help="Creation Date, usually the time of the order") - date_done = fields.Datetime('Date of Transfer', copy=False, readonly=True, help="Completion Date of Transfer") + date_done = fields.Datetime('Date of Transfer', copy=False, readonly=True, help="Date at which the transfer has been processed or cancelled.") location_id = fields.Many2one( 'stock.location', "Source Location", diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml index 9b1faeea16a..a9abd77c022 100644 --- a/addons/stock/views/stock_picking_views.xml +++ b/addons/stock/views/stock_picking_views.xml @@ -247,6 +247,7 @@ +