Browse Source

[IMP] partner_contact_email2

16.0
RemiFr82 7 months ago
parent
commit
8618f83336
  1. 6
      partner_contact_email2/__init__.py
  2. 2
      partner_contact_email2/models/__init__.py
  3. 5
      partner_contact_email2/models/res_partner.py

6
partner_contact_email2/__init__.py

@ -1,5 +1 @@
# -*- coding: utf-8 -*-
# from . import controllers
# from . import models
# from . import wizards
# from .hooks import pre_init_hook, post_init_hook, uninstall_hook
from . import models

2
partner_contact_email2/models/__init__.py

@ -1 +1 @@
# from . import model
from . import res_partner

5
partner_contact_email2/models/res_partner.py

@ -4,9 +4,8 @@ from odoo import models, fields, api, tools
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
class WizardTechnicalName(models.Model):
_name = "wizard.technical.name"
_description = "Wizard Display Name"
class ResPartner(models.Model):
_inherit = "res.partner"
email2 = fields.Char("Email 2") email2 = fields.Char("Email 2")
email2_formatted = fields.Char( email2_formatted = fields.Char(

Loading…
Cancel
Save