From d726e413339948a3e3c47370caabce39dd23a89c Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Mon, 30 Aug 2010 11:44:07 +0530 Subject: [PATCH] [IMP] stock: Improve the tooltips of state bzr revid: sbh@tinyerp.com-20100830061407-amdn6oscg7dqyw0w --- addons/stock/stock.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index c76bc609a65..68e20908a47 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -553,10 +553,14 @@ class stock_picking(osv.osv): ('done', 'Done'), ('cancel', 'Cancelled'), ], 'State', readonly=True, select=True, - help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed picking. \ - \n* The \'Confirmed\' state is used for stock movement to do with unavailable products. \ - \n* The \'Available\' state is set automatically when the products are ready to be moved.\ - \n* The \'Waiting\' state is used in MTO moves when a movement is waiting for another one.'), + help=' * The \'Draft\' state is used when a user not confirmed yet and will not be scheduled until confirmed picking. \ + \n* The \'Confirmed \' state is still waiting for the availability of products. \ + \n* The \'Available\' state is products reserved, simply waiting for confirmation.\ + \n* The \'Waiting\' state is used waiting for another move to proceed before it becomes automatically available. (e.g. in Make-To-Order flows).\ + \n* The \'Done\' has been processed, cant be modified or cancelled anymore. \ + \n* The \'Cancelled\' has been cancelled, cant be confirmed anymore. \ + '), + 'min_date': fields.function(get_min_max_date, fnct_inv=_set_minimum_date, multi="min_max_date", method=True, store=True, type='datetime', string='Expected Date', select=1, help="Expected date for Picking. Default it takes current date"), 'date': fields.datetime('Order Date', help="Date of Order"),