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 = [