diff --git a/stock_cycle_count/__manifest__.py b/stock_cycle_count/__manifest__.py index ae2da5b1f..456d36466 100644 --- a/stock_cycle_count/__manifest__.py +++ b/stock_cycle_count/__manifest__.py @@ -10,11 +10,7 @@ "author": "ForgeFlow, Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-warehouse", "category": "Warehouse Management", - "depends": [ - "stock_account", - "stock_inventory_discrepancy", - "stock_inventory_exclude_sublocation", - ], + "depends": ["stock_account", "stock_inventory_discrepancy", "stock_inventory"], "data": [ "views/stock_cycle_count_view.xml", "views/stock_cycle_count_rule_view.xml", diff --git a/stock_cycle_count/models/stock_inventory.py b/stock_cycle_count/models/stock_inventory.py index e38ff1656..13afd4d31 100644 --- a/stock_cycle_count/models/stock_inventory.py +++ b/stock_cycle_count/models/stock_inventory.py @@ -25,15 +25,6 @@ class StockInventory(models.Model): if not inv.stock_quant_ids and inv.state == "done": inv.inventory_accuracy = PERCENT - company_id = fields.Many2one( - "res.company", - "Company", - readonly=True, - index=True, - required=True, - states={"draft": [("readonly", False)]}, - default=lambda self: self.env.company, - ) prefill_counted_quantity = fields.Selection( string="Counted Quantities", help="Allows to start with a pre-filled counted quantity for each lines or " @@ -57,11 +48,6 @@ class StockInventory(models.Model): store=True, group_operator="avg", ) - responsible_id = fields.Many2one( - comodel_name="res.users", - tracking=True, - help="Specific responsible of Inventory Adjustment.", - ) def _get_default_counted_quantitites(self): company_id = self.env.context.get("default_company_id", self.env.company) diff --git a/stock_cycle_count/views/stock_inventory_view.xml b/stock_cycle_count/views/stock_inventory_view.xml index c197d95cc..1fe85b044 100644 --- a/stock_cycle_count/views/stock_inventory_view.xml +++ b/stock_cycle_count/views/stock_inventory_view.xml @@ -9,7 +9,6 @@ - @@ -21,9 +20,7 @@ - -