hunk.code_window:             sortby = 'date'
           order = searchbar_sortings[sortby]['order']
           # archive groups - Default Group By 'create_date'
           archive_groups = self._get_archive_groups('crm.lead', domain)
           if date_begin and date_end:
               domain += [('create_date', '>', date_begin), ('create_date', '<=', date_end)]
           # pager
           lead_count = CrmLead.search_count(domain)
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:         archive_groups = self._get_archive_groups('crm.lead', domain) if values.get('my_details') else []
  
hunk.file_path: addons/website_crm_partner_assign/controllers/main.py
hunk.type: replace
file: <?xml version="1.0" encoding="UTF-8"?>
  <odoo>
      <record id="view_stock_orderpoint_snooze" model="ir.ui.view">
          <field name="name">Stock Orderpoint Snooze</field>
          <field name="model">stock.orderpoint.snooze</field>
          <field name="arch" type="xml">
              <form string="Snooze">
                  <group>
                      <field name="orderpoint_ids" invisible="1"/>
                      <field name="predefined_date" widget="radio"/>
                      <field name="snoozed_until" attrs="{'readonly': [('predefined_date', '!=', 'custom')]}" force_save="1"/>
                  </group>
                  <footer>
                      <button string="Snooze" name="action_snooze" type="object" class="btn-primary"/>
                      <button string="Discard" name="cancel_button" class="btn-secondary" special="cancel"/>
                  </footer>
              </form>
          </field>
      </record>
  
      <record id="action_orderpoint_snooze" model="ir.actions.act_window">
          <field name="name">Snooze</field>
          <field name="res_model">stock.orderpoint.snooze</field>
          <field name="view_mode">form</field>
          <field name="target">new</field>
      </record>
  </odoo>
  