hunk.code_window:             GROUP BY
                   m.id
           """, (tuple(self.ids), ))
           for row in self.env.cr.dictfetchall():
               total = row.pop('total') or 1
               row['received_ratio'] = 100.0 * row['delivered'] / total
               row['opened_ratio'] = 100.0 * row['opened'] / total
               row['replied_ratio'] = 100.0 * row['replied'] / total
               row['bounced_ratio'] = 100.0 * row['bounced'] / total
               self.browse(row.pop('mailing_id')).update(row)
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:             total = row['expected'] or 1
  
hunk.file_path: addons/mass_mailing/models/mass_mailing.py
hunk.type: replace
file: <?xml version="1.0" encoding="utf-8"?>
  <openerp>
      <data>
  
          <!-- Fiscal Position Templates -->
          <record id="fiscal_position_template_national" model="account.fiscal.position.template">
              <field name="name">Binnenland</field>
              <field name="chart_template_id" ref="l10nnl_chart_template" />
          </record>
          <record id="fiscal_position_template_transferred" model="account.fiscal.position.template">
              <field name="name">BTW verlegd</field>
              <field name="chart_template_id" ref="l10nnl_chart_template" />
          </record>
          <record id="fiscal_position_template_eu" model="account.fiscal.position.template">
              <field name="name">EU landen</field>
              <field name="chart_template_id" ref="l10nnl_chart_template" />
          </record>
          <record id="fiscal_position_template_non_eu" model="account.fiscal.position.template">
              <field name="name">Niet-EU landen</field>
              <field name="chart_template_id" ref="l10nnl_chart_template" />
          </record>
  
      </data>
  </openerp>
  