From 82bbd017f243fbc0e45938bcec87531ba18f084e Mon Sep 17 00:00:00 2001 From: ArnauCForgeFlow Date: Wed, 24 Jul 2024 11:02:53 +0200 Subject: [PATCH] [FIX] stock_cycle_count: inventory adjustment already adds these fields --- stock_cycle_count/models/stock_inventory.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stock_cycle_count/models/stock_inventory.py b/stock_cycle_count/models/stock_inventory.py index b82133af44f7..7a6026776dfd 100644 --- a/stock_cycle_count/models/stock_inventory.py +++ b/stock_cycle_count/models/stock_inventory.py @@ -158,12 +158,6 @@ def action_state_to_in_progress(self): self.prefill_counted_quantity = ( self.company_id.inventory_adjustment_counted_quantities ) - self.stock_quant_ids.update( - { - "user_id": self.cycle_count_id.responsible_id, - "inventory_date": self.cycle_count_id.date_deadline, - } - ) if self.prefill_counted_quantity == "zero": self.stock_quant_ids.write({"inventory_quantity": 0}) elif self.prefill_counted_quantity == "counted":