From de21a07f3753073d1bd7c095062ca95206663c5e Mon Sep 17 00:00:00 2001 From: Edilio Daciel Escalona Almira Date: Mon, 2 Dec 2024 18:08:01 -0500 Subject: [PATCH] [IMP] Enable recaptcha by default --- .../models/res_config_settings.py | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 website_recaptcha_v2_login/models/res_config_settings.py diff --git a/website_recaptcha_v2_login/models/res_config_settings.py b/website_recaptcha_v2_login/models/res_config_settings.py deleted file mode 100644 index fa2e0cf47f..0000000000 --- a/website_recaptcha_v2_login/models/res_config_settings.py +++ /dev/null @@ -1,23 +0,0 @@ -# SPDX-FileCopyrightText: 2010-2014 Elico Corp -# SPDX-FileContributor: Augustin Cisterne-Kaas -# SPDX-FileCopyrightText: 2015 Tech-Receptives Solutions Pvt. Ltd. -# SPDX-FileCopyrightText: 2019 Simone Orsi - Camptocamp SA -# SPDX-FileCopyrightText: 2019 Coop IT Easy SC -# -# SPDX-License-Identifier: AGPL-3.0-or-later - -from odoo import fields, models - - -class ResConfigSettings(models.TransientModel): - _inherit = "res.config.settings" - - recaptcha_v2_enabled = fields.Boolean( - related="website_id.recaptcha_v2_enabled", readonly=False - ) - recaptcha_v2_site_key = fields.Char( - related="website_id.recaptcha_v2_site_key", readonly=False - ) - recaptcha_v2_secret_key = fields.Char( - related="website_id.recaptcha_v2_secret_key", readonly=False - )