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

3 years ago
  1. # Copyright 2021 Le Filament (<http://www.le-filament.com>)
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  3. from odoo import fields, models, api
  4. class Website(models.Model):
  5. _inherit = 'website'
  6. # ------------------------------------------------------
  7. # Fields declaration
  8. # ------------------------------------------------------
  9. amount_limit = fields.Float("Montant minimum pour passer au paiement")
  10. # ------------------------------------------------------
  11. # SQL Constraints
  12. # ------------------------------------------------------
  13. # ------------------------------------------------------
  14. # Default methods
  15. # ------------------------------------------------------
  16. # ------------------------------------------------------
  17. # Computed fields / Search Fields
  18. # ------------------------------------------------------
  19. # ------------------------------------------------------
  20. # Onchange / Constraints
  21. # ------------------------------------------------------
  22. # ------------------------------------------------------
  23. # CRUD methods (ORM overrides)
  24. # ------------------------------------------------------
  25. # ------------------------------------------------------
  26. # Actions
  27. # ------------------------------------------------------
  28. # ------------------------------------------------------
  29. # Business methods
  30. # ------------------------------------------------------