From 1dc5a82a9940442ed0e61a4854649525e5d54914 Mon Sep 17 00:00:00 2001 From: Juani Rivero Date: Thu, 3 Nov 2022 19:03:57 +0000 Subject: [PATCH] [FIX]sale_barcode: unwilling scroll to top closes ingadhoc/sale#589 Signed-off-by: Matias Peralta --- sale_barcode/__manifest__.py | 2 +- sale_barcode/static/src/js/sale_barcode_handler.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sale_barcode/__manifest__.py b/sale_barcode/__manifest__.py index 47e71e66e..18d32f7ef 100644 --- a/sale_barcode/__manifest__.py +++ b/sale_barcode/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { 'name': 'Sale Barcode', - 'version': '13.0.1.0.0', + 'version': '13.0.1.1.0', 'category': 'Sales', 'sequence': 14, 'summary': '', diff --git a/sale_barcode/static/src/js/sale_barcode_handler.js b/sale_barcode/static/src/js/sale_barcode_handler.js index b1b297b16..66fa22e7a 100644 --- a/sale_barcode/static/src/js/sale_barcode_handler.js +++ b/sale_barcode/static/src/js/sale_barcode_handler.js @@ -22,6 +22,7 @@ var SaleBarcodeHandler = AbstractField.extend({ barcode: '_barcodeAddX2MQuantity', } }); + this.trigger_up('scrollTo', {selector: '.oe_subtotal_footer_separator'}); }, });