You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
497 B
14 lines
497 B
# -*- coding: utf-8 -*-
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class Partner(models.Model):
|
|
_inherit = 'res.partner'
|
|
|
|
user_id = fields.Many2one('res.users',
|
|
string='Salesperson',
|
|
help='The internal user that is in charge of'
|
|
'communicating with this contact if any.',
|
|
default=lambda self: self.env.uid)
|