[IMP] mrp_operations: Improved yml

bzr revid: pso@tinyerp.com-20120726094658-si1qsl70jma8lp2g
This commit is contained in:
pso (OpenERP) 2012-07-26 15:16:58 +05:30
parent 51587deece
commit 4a440a9953
1 changed files with 0 additions and 2 deletions

View File

@ -51,7 +51,6 @@
order = self.browse(cr, uid, ref("mrp.mrp_production_1"), context=context)
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'mrp.production.workcenter.line', order.workcenter_lines[0].id, 'button_pause', cr)
wf_service.trg_validate(uid, 'mrp.production.workcenter.line', order.workcenter_lines[0].id, 'button_resume', cr)
-
I resume first work operation.
-
@ -102,7 +101,6 @@
-
!python {model: mrp.production}: |
order = self.browse(cr, uid, ref("mrp.mrp_production_1"), context=context)
print order.state
assert order.state == 'done', "Production should be closed after finished all operations."
-
I print a Barcode Report of Operation line.