Files
odoo_source/addons/sales_team/models/res_users.py
T
Ludovic Laffineur lla d632a988ff [CLEAN] sales_team: model / module cleaning
[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
2015-10-27 12:28:47 +01:00

13 lines
385 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ResUsers(models.Model):
_inherit = 'res.users'
sale_team_id = fields.Many2one(
'crm.team', 'Sales Team',
help='Sales Team the user is member of. Used to compute the members of a sales team through the inverse one2many')