From 31bc8f2391d3a33d563b33b86e79608478425f4d Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Thu, 7 Feb 2019 14:50:15 -0800 Subject: [PATCH] MIG `purchase_by_sale_history_mrp` to 12.0 --- purchase_by_sale_history_mrp/__manifest__.py | 2 +- .../tests/test_purchase_by_sale_history.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/purchase_by_sale_history_mrp/__manifest__.py b/purchase_by_sale_history_mrp/__manifest__.py index 711bda72..3a444011 100755 --- a/purchase_by_sale_history_mrp/__manifest__.py +++ b/purchase_by_sale_history_mrp/__manifest__.py @@ -1,7 +1,7 @@ { 'name': 'Purchase by Sale History MRP', 'author': 'Hibou Corp. ', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'category': 'Purchases', 'sequence': 95, 'summary': 'Buy Raw materials based on sales from Finished products.', diff --git a/purchase_by_sale_history_mrp/tests/test_purchase_by_sale_history.py b/purchase_by_sale_history_mrp/tests/test_purchase_by_sale_history.py index 74e6a810..3695edfc 100644 --- a/purchase_by_sale_history_mrp/tests/test_purchase_by_sale_history.py +++ b/purchase_by_sale_history_mrp/tests/test_purchase_by_sale_history.py @@ -194,7 +194,7 @@ class MTestPurchaseBySaleHistoryMRP(test_purchase_by_sale_history.TestPurchaseBy 'product_qty': 100.0, 'location_id': wh1.lot_stock_id.id, }) - adjust_product11.action_done() + adjust_product11.action_validate() wiz.action_confirm() self.assertEqual(po1.order_line.filtered(lambda l: l.product_id == product_raw).product_qty, 24.0) # No longer have needs on product11 but we still have them for product12