|
@ -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( |
|
|