From 48e286eb6b173bb642a587d96f0caf545c56a1fb Mon Sep 17 00:00:00 2001 From: "Rucha (Open ERP)" Date: Thu, 3 Nov 2011 12:25:02 +0530 Subject: [PATCH] [IMP]: mrp: Improvement in yml test case to change production qty bzr revid: rpa@tinyerp.com-20111103065502-s0hnhn7bcpkkak7i --- addons/mrp/test/mrp_production_order.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/mrp/test/mrp_production_order.yml b/addons/mrp/test/mrp_production_order.yml index a151e0b93d2..265517761da 100644 --- a/addons/mrp/test/mrp_production_order.yml +++ b/addons/mrp/test/mrp_production_order.yml @@ -30,7 +30,11 @@ pick_ids = self.browse(cr, uid, ref("mrp_production_mo1")) assert pick_ids.picking_id.id, _('No Internal Picking created for this manufacturing order!') - - I remembered that we have to produce 6.0 PC1 instead of 5.0, so I create record for wizard 'Change Qty' changing production quantity to 6.0 + I remembered that we have to produce 6.0 PC1 instead of 5.0, so I create record for wizard 'Change Qty'. +- + !record {model: change.production.qty, id: mrp_production_qty, context: "{'active_id': ref('mrp_production_mo1')}"}: +- + I change value to 6.0 - !record {model: change.production.qty, id: mrp_production_qty}: product_qty: 6.0