Browse Source

[FIX] set_message_read() to set_message_done()

pull/55/head
czoellner 8 years ago
parent
commit
b6dd90486f
  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