Browse Source

[PEP] emc: Fix line length

pull/119/head
Rémy Taymans 4 years ago
parent
commit
a0a5b0ec22
  1. 10
      easy_my_coop/models/partner.py

10
easy_my_coop/models/partner.py

@ -205,10 +205,12 @@ class ResPartner(models.Model):
member_companies = self.env["res.partner"].search( member_companies = self.env["res.partner"].search(
[("is_company", "=", True), ("member", "=", True)] [("is_company", "=", True), ("member", "=", True)]
) )
partner.representative_of_member_company = partner in member_companies.mapped(
"child_ids"
).filtered(
"representative"
partner.representative_of_member_company = (
partner in member_companies.mapped(
"child_ids"
).filtered(
"representative"
)
) )
@api.multi @api.multi

Loading…
Cancel
Save