Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/ocb-addons/7.0-lp1250053-fix_mrp_test_state_ready into lp:ocb-addons.
Commit message: [FIX] Update mrp test with fix for lp:1250053 Requested reviews: OpenERP Community Backports Team (ocb) Related bugs: Bug #1292358 in OpenERP Community Backports (Addons): "[OCB] mrp test needs updating after fixing stock move state in lp:1250053" https://bugs.launchpad.net/ocb-addons/+bug/1292358 For more details, see: https://code.launchpad.net/~therp-nl/ocb-addons/7.0-lp1250053-fix_mrp_test_state_ready/+merge/210965 Adapts mrp test to the fix for lp:1250053. With this fix, your production order will become ready when you have the materials. -- https://code.launchpad.net/~therp-nl/ocb-addons/7.0-lp1250053-fix_mrp_test_state_ready/+merge/210965 Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~therp-nl/ocb-addons/7.0-lp1250053-fix_mrp_test_state_ready into lp:ocb-addons.
=== modified file 'mrp/test/bom_with_service_type_product.yml' --- mrp/test/bom_with_service_type_product.yml 2013-09-12 11:04:54 +0000 +++ mrp/test/bom_with_service_type_product.yml 2014-03-14 05:59:07 +0000 @@ -40,7 +40,7 @@ - !python {model: mrp.production}: | order = self.browse(cr, uid, ref("mrp_production_servicetype_mo1")) - assert order.state == 'confirmed', "Production order should be confirmed." + assert order.state == 'ready', "Production order should be ready." for move_line in order.move_lines: move_line.action_consume(move_line.product_qty) -
-- Mailing list: https://launchpad.net/~openerp-community-reviewer Post to : openerp-community-reviewer@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community-reviewer More help : https://help.launchpad.net/ListHelp