diff options
| author | Simon Lejeune <sle@openerp.com> | 2017-07-13 14:19:44 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2017-07-14 17:08:22 +0200 |
| commit | ddf2b21bdf38492ce075d4ae96bb9323c6ef59dd (patch) | |
| tree | 7a5b94d9491bbdec29308b318324cea6e8f173de /addons/purchase/tests/test_create_picking.py | |
| parent | 27ab5153d97c16139a5b1e2410bb78780c03f076 (diff) | |
[REF] stock: adapt to rename of stock.pack.operation into stock.mode.line
Diffstat (limited to 'addons/purchase/tests/test_create_picking.py')
| -rw-r--r-- | addons/purchase/tests/test_create_picking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/purchase/tests/test_create_picking.py b/addons/purchase/tests/test_create_picking.py index 0d8de789006..ce66f74ea0c 100644 --- a/addons/purchase/tests/test_create_picking.py +++ b/addons/purchase/tests/test_create_picking.py @@ -54,7 +54,7 @@ class TestCreatePicking(common.TestProductCommon): # Validate first shipment self.picking = self.po.picking_ids[0] self.picking.force_assign() - for ml in self.picking.pack_operation_ids: + for ml in self.picking.move_line_ids: ml.qty_done = ml.product_uom_qty self.picking.action_done() self.assertEqual(self.po.order_line.mapped('qty_received'), [7.0], 'Purchase: all products should be received') |
