Skip to content

Commit

Permalink
[FIX]sale_barcode: unwilling scroll to top
Browse files Browse the repository at this point in the history
closes #589

Signed-off-by: Matias Peralta <[email protected]>
  • Loading branch information
JrAdhoc committed Nov 3, 2022
1 parent cccb298 commit 1dc5a82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sale_barcode/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Sale Barcode',
'version': '13.0.1.0.0',
'version': '13.0.1.1.0',
'category': 'Sales',
'sequence': 14,
'summary': '',
Expand Down
1 change: 1 addition & 0 deletions sale_barcode/static/src/js/sale_barcode_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ var SaleBarcodeHandler = AbstractField.extend({
barcode: '_barcodeAddX2MQuantity',
}
});
this.trigger_up('scrollTo', {selector: '.oe_subtotal_footer_separator'});
},
});

Expand Down

0 comments on commit 1dc5a82

Please sign in to comment.