Browse Source

[FIX] add sudo()

pull/1/head
Ivan Yelizariev 9 years ago
parent
commit
5c2210c3a2
  1. 2
      mail_move_message_models.py

2
mail_move_message_models.py

@ -342,5 +342,5 @@ class res_partner(models.Model):
('author_id', '=', False)
])
if messages:
messages.write({'author_id': res.id})
messages.sudo().write({'author_id': res.id})
return res
Loading…
Cancel
Save