diff options
| author | William Henrotin <whe@odoo.com> | 2020-04-27 11:56:02 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2020-06-15 16:59:41 +0200 |
| commit | 0e2765f5fd0ca0079f1f024ec3a1448b6d2ea3db (patch) | |
| tree | 90ea03d1aca1bf87a080775e7db07977b645c5cc /addons/mrp_landed_costs | |
| parent | 1b6421285c6bc4c61be3242cea30c2813251cbc7 (diff) | |
[REF] mrp: no more produce wizard
Use a view similar as the pickings one.
task-2241471
Diffstat (limited to 'addons/mrp_landed_costs')
| -rw-r--r-- | addons/mrp_landed_costs/tests/test_stock_landed_costs_mrp.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/addons/mrp_landed_costs/tests/test_stock_landed_costs_mrp.py b/addons/mrp_landed_costs/tests/test_stock_landed_costs_mrp.py index 134ba08f893..6ef491ac4fb 100644 --- a/addons/mrp_landed_costs/tests/test_stock_landed_costs_mrp.py +++ b/addons/mrp_landed_costs/tests/test_stock_landed_costs_mrp.py @@ -117,13 +117,10 @@ class TestStockLandedCostsMrp(StockAccountTestCommon): self.assertEqual(first_move.product_qty, 2.0) # produce product - produce_form = Form(self.env['mrp.product.produce'].with_user(self.allow_user).with_context({ - 'active_id': man_order.id, - 'active_ids': [man_order.id], - })) - produce_form.qty_producing = 2.0 - produce_wizard = produce_form.save() - produce_wizard.do_produce() + mo_form = Form(man_order.with_user(self.allow_user)) + mo_form.qty_producing = 2 + man_order = mo_form.save() + man_order.button_mark_done() |
