# Copyright 2026 Criptomart # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) from odoo import fields from odoo import models class ResConfigSettings(models.TransientModel): _inherit = "res.config.settings" disabled_cart_redirect_url = fields.Char( string="Disabled Cart Redirect URL", config_parameter="website_sale_disable_cart.redirect_url", default="/shop", help="Internal path visitors are sent to when they reach a standard " "cart URL. Must start with '/' and must not point back to /shop/cart; " "otherwise '/shop' is used.", )