hunk.code_window:         communication = self.type in ('in_invoice', 'in_refund') and self.reference or self.number
           if self.origin:
               communication = '%s (%s)' % (communication, self.origin)
           payment = self.env['account.payment'].create({
               'invoice_ids': [(6, 0, self.ids)],
               'amount': pay_amount or self.residual,
               'payment_date': date or fields.Date.context_today(self),
               'communication': communication,
               'partner_id': self.partner_id.id,
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:         payment_vals = {
  
hunk.file_path: addons/account/models/account_invoice.py
hunk.type: replace
file: # Translation of Odoo Server.
  # This file contains the translation of the following modules:
  # * theme_default
  #
  # Translators:
  # Arma Gedonsky <armagedonsky@hot.ee>, 2016
  msgid ""
  msgstr ""
  "Project-Id-Version: Odoo 9.0\n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2015-08-25 09:00+0000\n"
  "PO-Revision-Date: 2016-03-12 20:00+0000\n"
  "Last-Translator: Arma Gedonsky <armagedonsky@hot.ee>\n"
  "Language-Team: Estonian (http://www.transifex.com/odoo/odoo-9/language/et/)\n"
  "Language: et\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: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid ""
  "<span style=\"font-family:'Helvetica Neue', Helvetica, Arial, sans-serif; "
  "font-size:11px\">Helvetica</span>\n"
  "                                      <span style=\"font-family:Georgia, "
  "'Times New Roman', Times, serif; font-size:11px\">/ Georgia</span>"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid ""
  "<span style=\"font-family:Georgia, 'Times New Roman', Times, serif; font-"
  "size:11px\">Georgia</span>\n"
  "                                      <span style=\"font-family:'Helvetica "
  "Neue', Helvetica, Arial, sans-serif; font-size:11px\">/ Helvetica</span>"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "Amethyst"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "BOXED"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "Blue"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "Cobalt"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "Customize this default theme"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "Emerald"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "FONTS COMBINATIONS"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "FULL WIDTH"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "Gold"
  msgstr "Kuld"
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "LAYOUT"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "MAIN COLOR"
  msgstr "PÕHIVÄRV"
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "Stone"
  msgstr ""
  
  #. module: theme_default
  #: model:ir.ui.view,arch_db:theme_default.customize_modal
  msgid "×"
  msgstr ""
  