hunk.code_window:             if (!data.cart_quantity) {
                   return window.location = '/shop/cart';
               }
               wSaleUtils.updateCartNavBar(data);
               $input.val(data.quantity);
               $('.js_quantity[data-line-id='+line_id+']').val(data.quantity).html(data.quantity);
               if (data.warning) {
                   var cart_alert = $('.oe_cart').parent().find('#data_warning');
                   if (cart_alert.length === 0) {
                       $('.oe_cart').prepend('<div class="alert alert-danger alert-dismissable" role="alert" id="data_warning">'+
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:             $('.js_quantity[data-line-id='+line_id+']').val(data.quantity).text(data.quantity);
  
hunk.file_path: addons/website_sale/static/src/js/website_sale.js
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from odoo import fields, models
  
  
  class Lead(models.Model):
      _inherit = 'crm.lead'
  
      reveal_ip = fields.Char(string='IP Address')
      reveal_iap_credits = fields.Integer(string='IAP Credits')
      reveal_rule_id = fields.Many2one('crm.reveal.rule', string='Lead Generation Rule', index=True)
  