hunk.code_window:         self.assertEqual(mail.email_from, self.company_admin.email_formatted)
           self.assertEqual(mail.state, 'outgoing', 'Mail should use the queue')
           kpi_message_values = html.fromstring(mail.body_html).xpath('//div[@data-field="kpi_mail_message_total"]//*[hasclass("kpi_value")]/text()')
           self.assertEqual(
               [t.strip() for t in kpi_message_values],
               ['3', '8', '15']
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:         kpi_message_values = html.fromstring(mail.body_html).xpath('//table[@data-field="kpi_mail_message_total"]//*[hasclass("kpi_value")]/text()')
  
hunk.file_path: addons/digest/tests/test_digest.py
hunk.type: replace
file: <?xml version="1.0" encoding="utf-8"?>
  <odoo>
      <record id="product_supplierinfo_subcontractor_tree_view" model="ir.ui.view">
          <field name="name">product.supplierinfo.subcontractor.tree.view</field>
          <field name="model">product.supplierinfo</field>
          <field name="inherit_id" ref="product.product_supplierinfo_tree_view"/>
          <field name="arch" type="xml">
              <xpath expr="//field[@name='partner_id']" position="after">
                  <field name="is_subcontractor" readonly="1" optional="hide"/>
              </xpath>
          </field>
      </record>
  </odoo>
  
  