hunk.code_window:                                     </div>
                                   </div>
                                   <div class="col-sm-2 text-sm-start col-6 align-end">
                                       <field name="color" invisible="1"/>
                                       <b><field name="status" widget="status_with_color" options="{'color_field': 'color'}"/></b>
                                   </div>
                                   <div class="col-sm-2 col-6 pb-0">
                                       <b><field name="progress_percentage" widget="percentage"/></b>
                                       <div>Progress</div>
                                   </div>
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:                                     <b><field name="status" widget="status_with_color"/></b>
  
hunk.file_path: addons/project/views/project_update_views.xml
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from odoo import models
  
  
  class ResPartner(models.Model):
      _name = 'res.partner'
      _inherit = ['mail.thread.phone', 'res.partner']
  
      def _sms_get_default_partners(self):
          """ Override of mail.thread method.
              SMS recipients on partners are the partners themselves.
          """
          return self
  
      def _phone_get_number_fields(self):
          """ This method returns the fields to use to find the number to use to
          send an SMS on a record. """
          return ['mobile', 'phone']
  