You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.5 KiB
41 lines
1.5 KiB
# Copyright 2021 Le Filament (<http://www.le-filament.com>)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import fields, models, api
|
|
|
|
|
|
class Website(models.Model):
|
|
_inherit = 'website'
|
|
|
|
# ------------------------------------------------------
|
|
# Fields declaration
|
|
# ------------------------------------------------------
|
|
amount_limit = fields.Float("Montant minimum pour passer au paiement")
|
|
|
|
# ------------------------------------------------------
|
|
# SQL Constraints
|
|
# ------------------------------------------------------
|
|
|
|
# ------------------------------------------------------
|
|
# Default methods
|
|
# ------------------------------------------------------
|
|
|
|
# ------------------------------------------------------
|
|
# Computed fields / Search Fields
|
|
# ------------------------------------------------------
|
|
|
|
# ------------------------------------------------------
|
|
# Onchange / Constraints
|
|
# ------------------------------------------------------
|
|
|
|
# ------------------------------------------------------
|
|
# CRUD methods (ORM overrides)
|
|
# ------------------------------------------------------
|
|
|
|
# ------------------------------------------------------
|
|
# Actions
|
|
# ------------------------------------------------------
|
|
|
|
# ------------------------------------------------------
|
|
# Business methods
|
|
# ------------------------------------------------------
|