Browse Source

🌈 pre-commit: redefined-builtin

pull/273/head
Denis Mudarisov 5 years ago
parent
commit
27e2a5951b
  1. 4
      mail_base/models.py

4
mail_base/models.py

@ -10,8 +10,8 @@ class MailMessage(models.Model):
values["partner_ids"] = []
for triplet in values.get("needaction_partner_ids"):
if triplet[0] == 6:
for id in triplet[2]:
values["partner_ids"].append((4, id, False))
for i in triplet[2]:
values["partner_ids"].append((4, i, False))
return super(MailMessage, self).write(values)

Loading…
Cancel
Save