Skip to content

Commit

Permalink
Travis fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JayVora-SerpentCS committed Jan 4, 2018
1 parent 7a16552 commit 297c047
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions partner_auto_salesman/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# -*- coding: utf-8 -*-
# See LICENSE file for full copyright and licensing details.

from odoo import api, fields, models
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)
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)

0 comments on commit 297c047

Please sign in to comment.