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:
  # * l10n_pe
  #
  # Translators:
  # Rick Hunter <rick_hunter_ec@yahoo.com>, 2015-2016
  msgid ""
  msgstr ""
  "Project-Id-Version: Odoo 9.0\n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2015-09-07 14:55+0000\n"
  "PO-Revision-Date: 2016-01-18 07:45+0000\n"
  "Last-Translator: Rick Hunter <rick_hunter_ec@yahoo.com>\n"
  "Language-Team: Spanish (Ecuador) (http://www.transifex.com/odoo/odoo-9/"
  "language/es_EC/)\n"
  "Language: es_EC\n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: \n"
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_080
  msgid "(+/-) Variación de Envases y Embalajes"
  msgstr "(+/-) Variación de Envases y Embalajes"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_060
  msgid "(+/-) Variación de Materias Primas"
  msgstr "(+/-) Variación de Materias Primas"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_020
  msgid "(+/-) Variación de Mercaderías"
  msgstr "(+/-) Variación de Mercaderías"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_070
  msgid "(+/-)Variación de Materiales Auxiliares, Suministros y Repuestos"
  msgstr "(+/-)Variación de Materiales Auxiliares, Suministros y Repuestos"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_050
  msgid "Compras de Envases y Emabalajes"
  msgstr "Compras de Envases y Emabalajes"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_040
  msgid "Compras de Materiales Auxiliares, Suministros y Repuestos"
  msgstr "Compras de Materiales Auxiliares, Suministros y Repuestos"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_ORD
  msgid "Cuentas de Orden"
  msgstr "Cuentas de Orden"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_150
  msgid "Gastos Financieros por Naturaleza"
  msgstr "Gastos Financieros por Naturaleza"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_100
  msgid "Gastos de Personal, Directores y Gerentes"
  msgstr "Gastos de Personal, Directores y Gerentes"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_090
  msgid "Gastos por Servicios Prestados por Terceros"
  msgstr "Gastos por Servicios Prestados por Terceros"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_110
  msgid "Gastos por Tributos"
  msgstr "Gastos por Tributos"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_BG_ACN_70
  msgid "Impuesto a la Renta y Participaciones Diferidos Activo"
  msgstr "Impuesto a la Renta y Participaciones Diferidos Activo"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_FU_150
  msgid "Interés Minoritario"
  msgstr "Interés Minoritario"
  
  #. module: l10n_pe
  #: model:ir.actions.client,name:l10n_pe.action_client_l10n_pe_menu
  msgid "Open Account Dashboard Menu"
  msgstr "Abrir Menú de Indicadores Contables"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_130
  msgid "Pérdida por Medición de Activos No Financieros a Valor Razonable"
  msgstr "Pérdida por Medición de Activos No Financieros a Valor Razonable"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_BG_PTN_70
  msgid "Resultados Acumulados"
  msgstr "Resultados Acumulados"
  
  #. module: l10n_pe
  #: model:account.account.type,name:l10n_pe.account_account_type_EGP_NA_140
  msgid "Valuación y Deterioro de Activos y Provisiones"
  msgstr "Valuación y Deterioro de Activos y Provisiones"
  