Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • 38d16cfe797835c11ce2f7687f00b9bad68bb283
  • 14.0 par défaut
  • 12.0 protégée
  • 13.0
4 résultats

__init__.py

Blame
  • res_company.py 1,62 Kio
    # 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
    
    
    class ResCompany(models.Model):
        _inherit = "res.company"
    
        # ------------------------------------------------------
        # Fields declaration
        # ------------------------------------------------------
        url_enedis = fields.Char(string="Url API de la plateforme de production interne")
        url_auth = fields.Char(string="Base Url API pour authorisation de connexion")
        url_autocons = fields.Char(string="Base Url API pour l'autoconsommation")
    
        # ------------------------------------------------------
        # SQL Constraints
        # ------------------------------------------------------
    
        # ------------------------------------------------------
        # Default methods
        # ------------------------------------------------------
    
        # ------------------------------------------------------
        # Computed fields / Search Fields
        # ------------------------------------------------------
    
        # ------------------------------------------------------
        # Onchange / Constraints
        # ------------------------------------------------------
    
        # ------------------------------------------------------
        # CRUD methods (ORM overrides)
        # ------------------------------------------------------
    
        # ------------------------------------------------------
        # Actions
        # ------------------------------------------------------
    
        # ------------------------------------------------------
        # Business methods
        # ------------------------------------------------------