diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 66ed40cec7f..aeea5c81cd1 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -3557,16 +3557,23 @@ td { .receipt-screen .notice { margin-top: 6px; + display: flex; } -.receipt-screen .notice.failed { +.receipt-screen .notice .failed { color: rgb(168, 89, 89); } -.receipt-screen .notice.successful { +.receipt-screen .notice .successful { color: #6EC89B; } +.receipt-screen .notice .send-mail-info { + position: absolute; + right: 1.5rem; + font-style: italic; +} + @media screen and (max-width: 768px) { .receipt-screen .default-view { flex-direction: column-reverse; diff --git a/addons/point_of_sale/static/src/xml/Screens/ReceiptScreen/ReceiptScreen.xml b/addons/point_of_sale/static/src/xml/Screens/ReceiptScreen/ReceiptScreen.xml index 8f0bd54af77..9e6c21923a2 100644 --- a/addons/point_of_sale/static/src/xml/Screens/ReceiptScreen/ReceiptScreen.xml +++ b/addons/point_of_sale/static/src/xml/Screens/ReceiptScreen/ReceiptScreen.xml @@ -20,7 +20,7 @@
-

How would you like to receive your receipt?

+

How would you like to receive your receipt & invoice?

Print Receipt @@ -33,11 +33,14 @@
- -
+
+
- +
+ (Both will be sent by email) +
+
diff --git a/addons/point_of_sale/static/tests/tours/helpers/ReceiptScreenTourMethods.js b/addons/point_of_sale/static/tests/tours/helpers/ReceiptScreenTourMethods.js index e209b0dbf06..db8e9dadedf 100644 --- a/addons/point_of_sale/static/tests/tours/helpers/ReceiptScreenTourMethods.js +++ b/addons/point_of_sale/static/tests/tours/helpers/ReceiptScreenTourMethods.js @@ -69,7 +69,7 @@ odoo.define('point_of_sale.tour.ReceiptScreenTourMethods', function (require) { emailIsSuccessful() { return [ { - trigger: `.receipt-screen .notice.successful`, + trigger: `.receipt-screen .notice .successful`, run: () => {}, }, ];