From 960bb76c0c84fe40a779f5f4621653bc62e65c22 Mon Sep 17 00:00:00 2001 From: "VIR, UCO" <> Date: Tue, 29 Dec 2009 17:55:25 +0530 Subject: [PATCH] [ADD]: Help added for All work orders state field bzr revid: uco@tinyerp.co.in-20091229122525-qeuu25ymgd9i3eoe --- addons/mrp_operations/mrp_operations.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/mrp_operations/mrp_operations.py b/addons/mrp_operations/mrp_operations.py index 5cd7193f69c..d206fc05bec 100644 --- a/addons/mrp_operations/mrp_operations.py +++ b/addons/mrp_operations/mrp_operations.py @@ -69,7 +69,12 @@ class mrp_production_workcenter_line(osv.osv): _inherit = 'mrp.production.workcenter.line' _order = "sequence, date_planned" _columns = { - 'state': fields.selection([('draft','Draft'),('startworking', 'In Progress'),('pause','Pause'),('cancel','Canceled'),('done','Finished')],'State', readonly=True), + 'state': fields.selection([('draft','Draft'),('startworking', 'In Progress'),('pause','Pause'),('cancel','Canceled'),('done','Finished')],'State', readonly=True, + help="* When a work order is created it is set in 'Draft' state.\n" \ + "* When user sets work order in start mode that time it will be set in 'In Progress' state.\n" \ + "* When work order is in running mode, during that time if user wants to stop or to make changes in order then can set in 'Pause' state.\n" \ + "* When the user cancels the work order it will be set in 'Canceled' state.\n" \ + "* When order is completely processed that time it is set in 'Finished' state."), 'date_start_date': fields.function(_get_date_date, method=True, string='Start Date', type='date'), 'date_planned': fields.datetime('Scheduled Date'), 'date_planned_end': fields.function(_get_date_end, method=True, string='End Date', type='datetime'),