diff --git a/addons/point_of_sale/static/src/js/Screens/ProductScreen/ProductScreen.js b/addons/point_of_sale/static/src/js/Screens/ProductScreen/ProductScreen.js index 7e71e1e5e5e..a8cb02ad496 100644 --- a/addons/point_of_sale/static/src/js/Screens/ProductScreen/ProductScreen.js +++ b/addons/point_of_sale/static/src/js/Screens/ProductScreen/ProductScreen.js @@ -5,6 +5,7 @@ import { registry } from "@web/core/registry"; import { useService } from "@web/core/utils/hooks"; import { useBarcodeReader } from "@point_of_sale/app/barcode_reader_hook"; import { parseFloat } from "@web/views/fields/parsers"; +import { _lt } from "@web/core/l10n/translation"; import { NumberPopup } from "@point_of_sale/js/Popups/NumberPopup"; import { ErrorPopup } from "@point_of_sale/js/Popups/ErrorPopup"; @@ -31,6 +32,7 @@ export class ProductScreen extends ControlButtonsMixin(Component) { OrderWidget, ProductsWidget, }; + static numpadActionName = _lt("Payment"); setup() { super.setup(); diff --git a/addons/point_of_sale/static/src/js/Screens/TicketScreen/TicketScreen.js b/addons/point_of_sale/static/src/js/Screens/TicketScreen/TicketScreen.js index 189750c07c1..88c4fe290dd 100644 --- a/addons/point_of_sale/static/src/js/Screens/TicketScreen/TicketScreen.js +++ b/addons/point_of_sale/static/src/js/Screens/TicketScreen/TicketScreen.js @@ -6,6 +6,7 @@ import { registry } from "@web/core/registry"; import { useService } from "@web/core/utils/hooks"; import { deserializeDateTime } from "@web/core/l10n/dates"; import { parseFloat } from "@web/views/fields/parsers"; +import { _lt } from "@web/core/l10n/translation"; import { ErrorPopup } from "@point_of_sale/js/Popups/ErrorPopup"; import { ConfirmPopup } from "@point_of_sale/js/Popups/ConfirmPopup"; @@ -41,6 +42,8 @@ export class TicketScreen extends IndependentToOrderScreen { reuseSavedUIState: false, ui: {}, }; + static numpadActionName = _lt("Refund"); + static searchPlaceholder = _lt("Search Orders..."); setup() { super.setup(); diff --git a/addons/point_of_sale/static/src/xml/Screens/ProductScreen/ProductScreen.xml b/addons/point_of_sale/static/src/xml/Screens/ProductScreen/ProductScreen.xml index 32bb4a2c514..de29310bb6b 100644 --- a/addons/point_of_sale/static/src/xml/Screens/ProductScreen/ProductScreen.xml +++ b/addons/point_of_sale/static/src/xml/Screens/ProductScreen/ProductScreen.xml @@ -18,10 +18,9 @@