Ecocentral/Ecologistic#2 add fields for CCPAE certification. Add logo to documents header
This commit is contained in:
parent
53e1a9737f
commit
d340344313
7 changed files with 76 additions and 0 deletions
1
l10n_es_partner_ccpae/models/__init__.py
Normal file
1
l10n_es_partner_ccpae/models/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
from . import partner
|
||||
15
l10n_es_partner_ccpae/models/partner.py
Normal file
15
l10n_es_partner_ccpae/models/partner.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResPartner(models.Model):
|
||||
_inherit = "res.partner"
|
||||
|
||||
# Proveedores
|
||||
ccpae_operador = fields.Char(string="Nº de Operador", tracking=True)
|
||||
ccpae_organismo = fields.Char(
|
||||
string="Organismo regulador",
|
||||
default="ES-ECO-019-CT",
|
||||
tracking=True,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue