From 51587deece85aff8b76afc638fd6d04933730d6a Mon Sep 17 00:00:00 2001 From: "pso (OpenERP)" Date: Thu, 26 Jul 2012 15:16:08 +0530 Subject: [PATCH] [IMP] mrp_operations: Improved yml bzr revid: pso@tinyerp.com-20120726094608-i7ztkary8x8e2bia --- addons/mrp_operations/test/workcenter_operations.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/addons/mrp_operations/test/workcenter_operations.yml b/addons/mrp_operations/test/workcenter_operations.yml index f24c1fbd5c7..6036316743c 100644 --- a/addons/mrp_operations/test/workcenter_operations.yml +++ b/addons/mrp_operations/test/workcenter_operations.yml @@ -1,3 +1,6 @@ +- + In order to test mrp_operations with OpenERP, I refer created production order of PC Assemble SC349 + with routing - Manual Component's Assembly to test complete production process with respect of workcenter. - I compute the production order. - @@ -67,7 +70,7 @@ wf_service = netsvc.LocalService("workflow") wf_service.trg_validate(uid, 'mrp.production.workcenter.line', order.workcenter_lines[0].id, 'button_cancel', cr) - - I reset first work operation and start after resolve techninal fault of work center. + I reset first work operation and start after resolving techninal fault of work center. - !python {model: mrp.production}: | import netsvc @@ -76,7 +79,7 @@ wf_service.trg_validate(uid, 'mrp.production.workcenter.line', order.workcenter_lines[0].id, 'button_draft', cr) wf_service.trg_validate(uid, 'mrp.production.workcenter.line', order.workcenter_lines[0].id, 'button_start_working', cr) - - Now Finished work of first work operation so I close that operation. + I close first work operation as this work center completed its process. - !python {model: mrp.production}: | import netsvc @@ -84,7 +87,7 @@ wf_service = netsvc.LocalService("workflow") wf_service.trg_validate(uid, 'mrp.production.workcenter.line', order.workcenter_lines[0].id, 'button_done', cr) - - Now I close other operations after start one by one. + Now I close other operations one by one which are in start state. - !python {model: mrp.production}: | import netsvc