From b635b2fa5608bb2bc844b5d9ca5a7010accae0c0 Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Fri, 18 Nov 2022 09:04:29 +0000 Subject: [PATCH] [FIX] stock_cycle_count: related field can't redefine selection list --- stock_cycle_count/models/res_config_settings.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/stock_cycle_count/models/res_config_settings.py b/stock_cycle_count/models/res_config_settings.py index 884f5c245..05bb6cc17 100644 --- a/stock_cycle_count/models/res_config_settings.py +++ b/stock_cycle_count/models/res_config_settings.py @@ -16,10 +16,6 @@ class ResConfigSettings(models.TransientModel): inventory_adjustment_counted_quantities = fields.Selection( related="company_id.inventory_adjustment_counted_quantities", - selection=[ - ("counted", "Default to stock on hand"), - ("zero", "Default to zero"), - ], string="Inventory Adjustment Counted quantities from Cycle Count", help="If enabled, confirming a Cycle Count will start the related " "Inventory Adjustment.",