Browse Source

Changes for lint checker.

pull/197/head
Richard deMeester 9 years ago
parent
commit
71bd2d86d8
  1. 6
      partner_contact_in_several_companies/models/res_partner.py

6
partner_contact_in_several_companies/models/res_partner.py

@ -12,9 +12,9 @@ class ResPartner(models.Model):
[('standalone', _('Standalone Contact')),
('attached', _('Attached to existing Contact')),
],
compute='_get_contact_type',
required=True, select=1, store=True,
default='standalone')
compute='_get_contact_type',
required=True, select=1, store=True,
default='standalone')
contact_id = fields.Many2one('res.partner', string='Main Contact',
domain=[('is_company', '=', False),
('contact_type', '=', 'standalone'),

Loading…
Cancel
Save