hunk.code_window:         return res
   class ProductTemplate(models.Model):
       _inherit = ["product.template", "website.seo.metadata", 'website.published.multi.mixin', 'rating.mixin']
       _order = 'website_published desc, website_sequence desc, name'
       _name = 'product.template'
       _mail_post_access = 'read'
       website_description = fields.Html('Description for the website', sanitize_attributes=False, translate=html_translate)
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:     _order = 'is_published desc, website_sequence desc, name'
  
hunk.file_path: addons/website_sale/models/product.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  
  from odoo import api, fields, models
  
  
  class CrmLeadLost(models.TransientModel):
      _name = 'crm.lead.lost'
      _description = 'Get Lost Reason'
  
      lost_reason_id = fields.Many2one('crm.lost.reason', 'Lost Reason')
  
      @api.multi
      def action_lost_reason_apply(self):
          leads = self.env['crm.lead'].browse(self.env.context.get('active_ids'))
          leads.write({'lost_reason': self.lost_reason_id.id})
          return leads.action_set_lost()
  