Browse Source

Merge pull request #55 from intero-chz/9.0

[FIX] set_message_read() to set_message_done()
pull/53/merge
Ivan Yelizariev 8 years ago
committed by GitHub
parent
commit
3375bb82c0
  1. 4
      mail_move_message/mail_move_message_models.py

4
mail_move_message/mail_move_message_models.py

@ -231,8 +231,8 @@ class wizard(models.TransientModel):
@api.one
def read_close(self):
self.message_id.set_message_read(True)
self.message_id.child_ids.set_message_read(True)
self.message_id.set_message_done()
self.message_id.child_ids.set_message_done()
return {'type': 'ir.actions.act_window_close'}

Loading…
Cancel
Save