Skip to content

Commit

Permalink
Merge pull request OCA#503 from hbrunn/7.0-mail_fix_anchor
Browse files Browse the repository at this point in the history
[FIX] updating every record once is enough
  • Loading branch information
StefanRijnhart committed Jun 7, 2016
2 parents f54f17c + 745f65e commit ca5dbde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/mail/migrations/7.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def create_mail_mail(cr, pool):
"references" = msg.%(references)s,
state = msg.%(state)s,
auto_delete = msg.%(auto_delete)s
FROM mail_mail mail, mail_message msg
WHERE mail.mail_message_id = msg.id
FROM mail_message msg
WHERE mail_mail.mail_message_id = msg.id
""" %
{
'mail_server_id': openupgrade.get_legacy_name('mail_server_id'),
Expand Down

0 comments on commit ca5dbde

Please sign in to comment.