Remove debug, change comment
This commit is contained in:
parent
fa2f71bfd2
commit
d3b310b52a
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
* @override
|
||||||
*/
|
*/
|
||||||
_changeCartQuantity: function ($input, value, $dom_optional, line_id, productIDs) {
|
_changeCartQuantity: function ($input, value, $dom_optional, line_id, productIDs) {
|
||||||
console.log('here2');
|
|
||||||
_.each($dom_optional, function (elem) {
|
_.each($dom_optional, function (elem) {
|
||||||
$(elem).find('.js_quantity').text(value);
|
$(elem).find('.js_quantity').text(value);
|
||||||
productIDs.push($(elem).find('span[data-product-id]').data('product-id'));
|
productIDs.push($(elem).find('span[data-product-id]').data('product-id'));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue