Skip to content
Snippets Groups Projects
Commit bf9fb093 authored by Juliana's avatar Juliana
Browse files

[UPD]Update text origin

parent d8c9d27c
No related branches found
No related tags found
No related merge requests found
...@@ -36,9 +36,9 @@ class ResPartner(models.Model): ...@@ -36,9 +36,9 @@ class ResPartner(models.Model):
date_log = fields.Datetime("Date de connexion") date_log = fields.Datetime("Date de connexion")
ref_producer = fields.Char("Référence du producteur") ref_producer = fields.Char("Référence du producteur")
origine = fields.Selection([ origine = fields.Selection([
("pv", "pv"), ("pv", "Photovoltaïque"),
("eo", "éo"), ("eo", "Eolien"),
("hyd", "hyd"), ("hyd", "Hydrolique")
], string="Origine") ], string="Origine")
# ------------------------------------------------------ # ------------------------------------------------------
# SQL Constraints # SQL Constraints
......
# 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 $ModelName$ (models.Model):
_name = '$ProjectName$.$TableName$'
_inherit = '$ProjectName$.$TableName$'
_description = '$Description$'
# ------------------------------------------------------
# Fields declaration
# ------------------------------------------------------
name = fields.Char()
$END$
# ------------------------------------------------------
# SQL Constraints
# ------------------------------------------------------
# ------------------------------------------------------
# Default methods
# ------------------------------------------------------
# ------------------------------------------------------
# Computed fields / Search Fields
# ------------------------------------------------------
# ------------------------------------------------------
# Onchange / Constraints
# ------------------------------------------------------
# ------------------------------------------------------
# CRUD methods (ORM overrides)
# ------------------------------------------------------
# ------------------------------------------------------
# Actions
# ------------------------------------------------------
# ------------------------------------------------------
# Business methods
# ------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
$END$
</data>
</odoo>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment