Browse Source

More changes for runbot lint checker...

pull/194/head
Richard deMeester 9 years ago
parent
commit
1958ef5869
  1. 2
      partner_contact_in_several_companies/models/multi_contact.py

2
partner_contact_in_several_companies/models/multi_contact.py

@ -70,7 +70,7 @@ class ResPartner(models.Model):
""" Display only standalone contact matching ``args`` or having """ Display only standalone contact matching ``args`` or having
attached contact matching ``args`` """ attached contact matching ``args`` """
if self.env.context.get('search_show_all_positions', {}).get('is_set') \ if self.env.context.get('search_show_all_positions', {}).get('is_set') \
and not self.env.context['search_show_all_positions'] \
and not self.env.context['search_show_all_positions']\
['set_value']: ['set_value']:
args = expression.normalize_domain(args) args = expression.normalize_domain(args)
attached_contact_args = expression.AND( attached_contact_args = expression.AND(

Loading…
Cancel
Save