Skip to Content
Menu
This question has been flagged
1 Reply
2232 Views

Iam using odoo version 10  In module contacts when I click on create button of notebook contacts & addresses

it opens popup of the options




how I cant add more field in contact using studio or any  python.


Avatar
Discard
Best Answer

I also needed a way to add a new address type. I solved it this way (v13):
Create a small app and in models folder create a model with this code (with your own value, label name):

from odoo import fields, models

class ResPartner(models.Model):
    _inherit = 'res.partner'

    type = fields.Selection(selection_add=[('new_value_name',"new_label_name")])

Do not forget to put 'contacts' in manifest file in the section "depends"

Avatar
Discard