From b37f97af39e809ffd74e79d01e29e1be91c39f10 Mon Sep 17 00:00:00 2001 From: Mateu Griful Date: Mon, 13 Sep 2021 11:35:36 +0200 Subject: [PATCH] [14.0][MIG] stock_cycle_count: Migration to 14.0 --- stock_cycle_count/__manifest__.py | 2 +- stock_cycle_count/tests/test_stock_cycle_count.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stock_cycle_count/__manifest__.py b/stock_cycle_count/__manifest__.py index 13849f813..0ab851fcf 100644 --- a/stock_cycle_count/__manifest__.py +++ b/stock_cycle_count/__manifest__.py @@ -5,7 +5,7 @@ "name": "Stock Cycle Count", "summary": "Adds the capability to schedule cycle counts in a " "warehouse through different rules defined by the user.", - "version": "13.0.1.1.0", + "version": "14.0.1.1.0", "development_status": "Mature", "maintainers": ["LoisRForgeFlow"], "author": "ForgeFlow, Odoo Community Association (OCA)", diff --git a/stock_cycle_count/tests/test_stock_cycle_count.py b/stock_cycle_count/tests/test_stock_cycle_count.py index 914fd0ecf..25efbd959 100644 --- a/stock_cycle_count/tests/test_stock_cycle_count.py +++ b/stock_cycle_count/tests/test_stock_cycle_count.py @@ -246,7 +246,7 @@ class TestStockCycleCount(common.TransactionCase): def test_view_methods(self): """Tests the methods used to handle views.""" self.cycle_count_1.action_create_inventory_adjustment() - self.cycle_count_1.action_view_inventory() + self.cycle_count_1.sudo().action_view_inventory() inv_count = self.cycle_count_1.inventory_adj_count self.assertEqual(inv_count, 1, "View method failing.") rules = [