hunk.code_window:         order = 'date_begin'
           if searches.get('date', 'all') == 'old':
               order = 'date_begin desc'
           if searches["country"] != 'all':   # if we are looking for a specific country
               order = 'is_online, ' + order  # show physical events first
           order = 'website_published desc, ' + order
           events = Event.search(dom_without("none"), limit=step, offset=pager['offset'], order=order)
           values = {
               'current_date': current_date,
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:         order = 'is_published desc, ' + order
  
hunk.file_path: addons/website_event/controllers/main.py
hunk.type: replace
file: <?xml version="1.0" encoding="utf-8"?>
  <odoo>
  <data>
  
          <record id="view_lunch_order_line_lucky" model="ir.ui.view">
                <field name="name">view.lunch.order.line.lucky</field>
                <field name="model">lunch.order.line.lucky</field>
                <field name="arch" type="xml">
                  <form string="I'm feeling lucky today !">
                      <group string="Select your vendor">
                          <field name="is_max_budget"/>
                          <field name="max_budget" attrs="{'required': [('is_max_budget', '=', True)], 'invisible': [('is_max_budget', '=', False)]}"/>
                          <field name="supplier_ids" widget="many2many_checkboxes"/>
                      </group>
                      <footer>
                          <button name="random_pick" string="I'm feeling lucky"  type="object" class="oe_highlight"/>
                          <button string="Cancel" class="btn btn-secondary" special="cancel" />
                      </footer>
                  </form>
                </field>
          </record>
  
          <record id="action_lunch_order_line_lucky" model="ir.actions.act_window">
              <field name="name">I'm feeling lucky today !</field>
              <field name="type">ir.actions.act_window</field>
              <field name="res_model">lunch.order.line.lucky</field>
              <field name="view_type">form</field>
              <field name="view_mode">form</field>
              <field name="view_id" ref="view_lunch_order_line_lucky"/>
              <field name="context">{'record_id' : active_id}</field>
              <field name="target">new</field>
          </record>
  
  </data>
  </odoo>
  