[REM] sales_team: _period_number filed is unused [REM] sales_team: working_hours field is unused [IMP] sales_team: help message for active field [REM] sales_team: size in char fields - no business reason [CLEAN] sales_team: updated some help messages + spacing / linting
13 lines
359 B
Python
13 lines
359 B
Python
# -*- 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, sale team used notably for sales and assignations related to this partner')
|