From d3b310b52a458cc521bf0e74e3d19543a5f99a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Br=C3=BCck?= Date: Wed, 26 Jun 2024 20:03:41 +1000 Subject: [PATCH] Remove debug, change comment --- nfu_sale_product_min_max_qty/static/src/js/website_sale.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nfu_sale_product_min_max_qty/static/src/js/website_sale.js b/nfu_sale_product_min_max_qty/static/src/js/website_sale.js index 0a91598..790f42d 100644 --- a/nfu_sale_product_min_max_qty/static/src/js/website_sale.js +++ b/nfu_sale_product_min_max_qty/static/src/js/website_sale.js @@ -38,11 +38,10 @@ odoo.define('nfu_sale_product_min_max_qty.website_min_max_qty', function (requir }, /** - * Adds the stock checking to the regular method + * Adds the max qty to the POST request when adding a product to the cart. * @override */ _changeCartQuantity: function ($input, value, $dom_optional, line_id, productIDs) { - console.log('here2'); _.each($dom_optional, function (elem) { $(elem).find('.js_quantity').text(value); productIDs.push($(elem).find('span[data-product-id]').data('product-id'));