hunk.code_window:                     <field name="date_start" string="Start Date" widget="daterange" options="{'related_end_date': 'date'}" optional="hide"/>
                       <field name="date" string="End Date" widget="daterange" options="{'related_start_date': 'date_start'}" optional="hide"/>
                       <field name="user_id" optional="show" string="Project Manager" widget="many2one_avatar_user" options="{'no_open':True, 'no_create': True, 'no_create_edit': True}"/>
                       <field name="last_update_color" invisible="1"/>
                       <field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}" optional="hide"/>
                       <field name="last_update_status" string="Status" nolabel="1" optional="show" widget="status_with_color" options="{'color_field': 'last_update_color', 'hide_label': True}"/>
                       <field name="stage_id" options="{'no_open': True}" optional="show"/>
                       <button string="View Tasks" name="action_view_tasks" type="object"/>
                   </tree>
               </field>
           </record>
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:                     <field name="last_update_status" string="Status" nolabel="1" optional="show" widget="status_with_color" options="{'hide_label': True}"/>
  
hunk.file_path: addons/project/views/project_views.xml
hunk.type: replace
file: /** @odoo-module */
  import { SaleOrderManagementScreen } from "@pos_sale/js/OrderManagementScreen/SaleOrderManagementScreen";
  import { useListener } from "@web/core/utils/hooks";
  import { registry } from "@web/core/registry";
  
  const { useState } = owl;
  
  export class MobileSaleOrderManagementScreen extends SaleOrderManagementScreen {
      static template = "MobileSaleOrderManagementScreen";
      setup() {
          super.setup();
          useListener("click-order", this._onShowDetails);
          this.mobileState = useState({ showDetails: false });
      }
      _onShowDetails() {
          this.mobileState.showDetails = true;
      }
  }
  
  registry.category("pos_screens").add("MobileSaleOrderManagementScreen", MobileSaleOrderManagementScreen);
  