# Copyright 2021 Le Filament () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import fields, models, api class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' # ------------------------------------------------------ # Fields declaration # ------------------------------------------------------ amount_limit = fields.Float( string="Montant minimum pour passer au paiement", related='website_id.amount_limit', readonly=False) # ------------------------------------------------------ # SQL Constraints # ------------------------------------------------------ # ------------------------------------------------------ # Default methods # ------------------------------------------------------ # ------------------------------------------------------ # Computed fields / Search Fields # ------------------------------------------------------ # ------------------------------------------------------ # Onchange / Constraints # ------------------------------------------------------ # ------------------------------------------------------ # CRUD methods (ORM overrides) # ------------------------------------------------------ # ------------------------------------------------------ # Actions # ------------------------------------------------------ # ------------------------------------------------------ # Business methods # ------------------------------------------------------