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 543c453
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion partner_auto_salesman/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
'installable': True,
'auto_install': False,
}

11 changes: 6 additions & 5 deletions partner_auto_salesman/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# -*- 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 543c453

Please sign in to comment.