[14.0][MIG] stock_cycle_count: Migration to 14.0

This commit is contained in:
Mateu Griful
2021-09-13 11:35:36 +02:00
committed by ArnauCForgeFlow
parent 83b8cfcd40
commit b37f97af39
2 changed files with 2 additions and 2 deletions

View File

@@ -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)",

View File

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