hunk.code_window:         # Post the message
           new_message = MailMessage.create(values)
           # Post-process: subscribe author, update message_last_post
           # Note: the message_last_post mechanism is no longer used.  This
           # will be removed in a later version.
           if (self._context.get('mail_save_message_last_post') and
                   model and model != 'mail.thread' and self.ids and subtype_id):
               subtype_rec = self.env['mail.message.subtype'].sudo().browse(subtype_id)
               if not subtype_rec.internal:
                   # done with SUPERUSER_ID, because on some models users can post only with read access, not necessarily write access
                   self.sudo().write({'message_last_post': fields.Datetime.now()})
           if author_id and model and self.ids and message_type != 'notification' and not self._context.get('mail_create_nosubscribe'):
               self.message_subscribe([author_id], force=False)
           self._message_post_after_hook(new_message)
  
hunk.labels: keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep
hunk.after_edit:         # Post-process: subscribe author
  
hunk.file_path: addons/mail/models/mail_thread.py
hunk.type: replace
file: # Translation of Odoo Server.
  # This file contains the translation of the following modules:
  # * mass_mailing_event_track
  # 
  # Translators:
  # Quim - eccit <quim@eccit.com>, 2017
  msgid ""
  msgstr ""
  "Project-Id-Version: Odoo Server 10.saas~18\n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2017-09-20 09:53+0000\n"
  "PO-Revision-Date: 2017-09-20 09:53+0000\n"
  "Last-Translator: Quim - eccit <quim@eccit.com>, 2017\n"
  "Language-Team: Catalan (https://www.transifex.com/odoo/teams/41243/ca/)\n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: \n"
  "Language: ca\n"
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  
  #. module: mass_mailing_event_track
  #: model:ir.model,name:mass_mailing_event_track.model_event_event
  msgid "Event"
  msgstr "Esdeveniment"
  
  #. module: mass_mailing_event_track
  #: model:ir.ui.view,arch_db:mass_mailing_event_track.event_event_view_form_inherit_mass_mailing_track
  msgid "Mail Track Speakers"
  msgstr ""
  