hunk.code_window:                                         <field name="activity_ids" widget="kanban_activity"/>
                                       </div>
                                       <div class="oe_kanban_bottom_right">
                                           <field t-if="record.last_update_status.value &amp;&amp; widget.editable" name="last_update_status" widget="project_state_selection" options="{'color_field': 'last_update_color', 'hide_label': 1}"/>
                                           <span t-if="record.last_update_status.value &amp;&amp; !widget.editable" t-att-class="'o_status_bubble mx-0 o_color_bubble_' + record.last_update_color.value" t-att-title="record.last_update_status.value"></span>
                                           <field name="user_id" widget="many2one_avatar_user" t-if="record.user_id.raw_value"/>
                                       </div>
                                   </div>
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:                                         <field t-if="record.last_update_status.value &amp;&amp; widget.editable" name="last_update_status" widget="project_state_selection" options="{'hide_label': 1}"/>
  
hunk.file_path: addons/project/views/project_views.xml
hunk.type: replace
file: /** @odoo-module */
  
  import { RelationalModel } from "@web/views/relational_model";
  
  export class ActivityModel extends RelationalModel {
      async load(params = {}) {
          this.originalDomain = params.domain ? [...params.domain] : [];
          params.domain?.push(["activity_ids", "!=", false]);
          this.activityData = await this.fetchActivityData(params);
          await super.load(params);
      }
  
      fetchActivityData(params) {
          return this.orm.call("mail.activity", "get_activity_data", [], {
              res_model: this.rootParams.resModel,
              domain: params.domain || this.env.searchModel._domain,
          });
      }
  }
  