sales_team/models/res_partner.py

13 lines
364 B
Python
Raw Permalink Normal View History

2024-05-14 14:35:25 +03:00
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResPartner(models.Model):
_inherit = 'res.partner'
team_id = fields.Many2one(
'crm.team', 'Sales Team',
help='If set, this Sales Team will be used for sales and assignments related to this partner')