From debae6e249390a364d843444064a93b71f43c45a Mon Sep 17 00:00:00 2001 From: Juani Rivero Date: Thu, 3 Nov 2022 16:03:57 -0300 Subject: [PATCH] [FIX]sale_barcode: unwilling scroll to top --- 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'}); }, });