hunk.code_window:     <record id="action_view_abandoned_tree" model="ir.actions.act_window">
           <field name="name">Abandoned Carts</field>
           <field name="res_model">sale.order</field>
           <field name="view_type">form</field>
           <field name="view_mode">tree,kanban,form</field>
           <field name="domain">[('state', '=', 'draft'), ('order_line', '!=', False), ('partner_id', '!=', context.get('public_partner_id')), ('team_id.team_type', '=', 'website'), ('date_order', '&lt;=', (datetime.datetime.utcnow() - datetime.timedelta(hours=1)).strftime('%Y-%m-%d %H:%M:%S'))]</field>
           <field name="context" eval="{'show_sale': True, 'create': False, 'public_partner_id': ref('base.public_partner'), 'search_default_recovery_email': True}"/>
           <field name="view_id" ref="sale.view_quotation_tree"/>
           <field name="search_view_id" ref="view_sales_order_filter_ecommerce_abondand"/>
           <field name="help" type="html">
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:         <field name="view_mode">tree,kanban,form,activity</field>
  
hunk.file_path: addons/website_sale/views/sale_order_views.xml
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from . import backend
  from . import main
  from . import web_editor
  