diff --git a/addons/point_of_sale/static/tests/tours/helpers/PaymentScreenTourMethods.js b/addons/point_of_sale/static/tests/tours/helpers/PaymentScreenTourMethods.js index 93a5cef6aa7..89beb0fef07 100644 --- a/addons/point_of_sale/static/tests/tours/helpers/PaymentScreenTourMethods.js +++ b/addons/point_of_sale/static/tests/tours/helpers/PaymentScreenTourMethods.js @@ -36,14 +36,6 @@ odoo.define('point_of_sale.tour.PaymentScreenTourMethods', function (require) { ]; } - clickTipButton() { - return [ - { - trigger: `.payment-buttons .js_tip`, - }, - ]; - } - clickInvoiceButton() { return [{ content: 'click invoice button', trigger: '.payment-buttons .js_invoice' }]; } diff --git a/odoo/addons/test_lint/tests/test_eslint.py b/odoo/addons/test_lint/tests/test_eslint.py index e4465f96979..2ec61a5c091 100644 --- a/odoo/addons/test_lint/tests/test_eslint.py +++ b/odoo/addons/test_lint/tests/test_eslint.py @@ -13,7 +13,8 @@ RULES = ('{' '"no-undef": "error",' '"no-restricted-globals": ["error", "event", "self"],' '"no-const-assign": ["error"],' - '"no-debugger": ["error"]' + '"no-debugger": ["error"],' + '"no-dupe-class-members": ["error"]' '}' ) PARSER_OPTIONS = '{ecmaVersion: 2019, sourceType: module}'