Browse Source

[IMP] partner_contact_phone2

16.0
RemiFr82 6 months ago
parent
commit
626afc6afc
  1. 6
      partner_contact_phones2/__init__.py
  2. 2
      partner_contact_phones2/models/__init__.py
  3. 2
      partner_contact_phones2/models/res_partner.py

6
partner_contact_phones2/__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_phones2/models/__init__.py

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

2
partner_contact_phones2/models/res_partner.py

@ -5,7 +5,7 @@ _logger = logging.getLogger(__name__)
class ResPartner(models.Model):
_name = "res.partner"
_inherit = "res.partner"
phone2 = fields.Char("Phone 2", unaccent=False)
mobile2 = fields.Char("Mobile 2", unaccent=False)
Loading…
Cancel
Save