hunk.code_window:         <record model="ir.actions.act_window" id="crm_lead_opportunities_tree_view">
               <field name="name">Pipeline</field>
               <field name="res_model">crm.lead</field>
               <field name="view_mode">kanban,tree,graph,pivot,form,calendar</field>
               <field name="domain">[('type','=','opportunity')]</field>
               <field name="context">{
                       'default_type': 'opportunity',
                       'default_user_id': uid,
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:             <field name="view_mode">kanban,tree,graph,pivot,form,calendar,activity</field>
  
hunk.file_path: addons/crm/views/crm_lead_views.xml
hunk.type: replace
file: <?xml version="1.0" encoding="utf-8"?>
  <odoo>
      <data noupdate="1">
  
          <record model="mail.channel" id="channel_all_employees">
              <field name="name">general</field>
              <field name="group_ids" eval="[(4, ref('base.group_user'))]"/>
              <field name="description">General announcements for all employees.</field>
          </record>
  
          <!-- notify all employees of module installation -->
          <record model="mail.message" id="module_install_notification" context="{'mail_notify_noemail': True}">
              <field name="model">mail.channel</field>
              <field name="res_id" ref="mail.channel_all_employees"/>
              <field name="message_type">email</field>
              <field name="subtype_id" ref="mail.mt_comment"/>
              <field name="subject">Welcome to Odoo!</field>
              <field name="body"><![CDATA[<p>Welcome to the #general channel.</p>
              <p>This channel is accessible to all users to <b>easily share company information</b>.</p>]]></field>
          </record>
      </data>
  </odoo>
  