Theo VINCENT (thvi)
b81a049a4e
[ADD] pos_online_payment_self_order, *: add module
...
*: pos_self_order
Adds online payment support for self-order flow in the Point of Sale app.
- Adds a configurable online payment method specific to the self-order flow, which is optional in "Pay after meal" mode, required in "Pay after each" mode.
The POS config of a restaurant can use 2 different online payment methods, one for the frontend cashier flow, and another for the self-order flow, or can use the same for both.
By default, if an online payment method is configured for the self-order flow, any new order paid online will be paid with that payment method.
But if the cashier requests an online payment with a different online payment method, that payment method will be used for that order during the time the cashier keeps his online payment popup open (without cancelling the online payment) (after cancelling the online payment, the order could potentially still be paid online, and if so it will use the online payment method of the self-order if one is configured, otherwise the online payment method of the cashier flow).
- Allows the customer to open the online payment page of an order from the self-order UI.
In "Pay after meal" mode, if an online payment method is configured, the "Pay" button is displayed when the customer order is saved on the server, otherwise the "Order" button is displayed (even when the order has been sent to the server and then modified without sending it again).
Otherwise, if no online payment method is configured, the "Pay at cashier" unclickable button is displayed.
In "Pay after each" mode, the "Pay" button is displayed everytime.
- Replaces the self_order_after_each_cart_tour test.
closes odoo/odoo#127869
Task-id: 3171698
Related: odoo/enterprise#44055
Signed-off-by: Robin Heinz (rhe) <rhe@odoo.com >
2023-07-20 14:22:57 +02:00
..
2023-07-20 11:49:06 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 18:24:15 +02:00
2023-07-20 07:48:03 +02:00
2023-06-01 11:43:51 +02:00
2023-07-20 11:49:06 +02:00
2023-06-01 11:43:51 +02:00
2023-06-01 11:43:51 +02:00
2023-07-20 11:49:06 +02:00
2023-07-20 11:49:06 +02:00
2023-07-20 06:40:43 +02:00
2023-06-01 11:43:51 +02:00
2023-07-15 04:01:09 +02:00
2023-05-22 17:52:07 +02:00
2023-07-20 11:49:06 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-06-01 11:43:51 +02:00
2023-07-05 09:01:10 +02:00
2023-07-19 13:13:16 +02:00
2023-07-04 07:55:16 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 13:13:16 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 13:13:16 +02:00
2023-06-20 19:08:56 +02:00
2023-07-13 19:28:32 +02:00
2023-06-28 17:41:19 +02:00
2023-06-01 11:43:51 +02:00
2023-06-21 15:53:15 +02:00
2023-06-01 11:43:51 +02:00
2023-07-18 11:42:26 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 18:24:15 +02:00
2023-07-20 11:49:06 +02:00
2023-06-28 17:41:19 +02:00
2023-07-20 11:49:06 +02:00
2023-06-12 22:39:26 +02:00
2023-07-18 11:42:26 +02:00
2023-07-19 18:24:15 +02:00
2023-05-22 17:52:07 +02:00
2023-07-19 13:13:16 +02:00
2023-07-20 11:49:47 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 18:24:15 +02:00
2023-06-01 11:43:51 +02:00
2023-06-01 11:43:51 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 13:54:08 +02:00
2023-07-20 11:49:06 +02:00
2023-06-01 11:43:51 +02:00
2023-07-10 16:59:11 +02:00
2023-07-20 11:49:06 +02:00
2023-06-29 11:59:46 +02:00
2023-06-20 15:58:03 +02:00
2023-07-20 11:49:06 +02:00
2023-07-19 18:24:15 +02:00
2023-06-21 06:57:53 +02:00
2023-07-20 11:49:06 +02:00
2023-07-19 18:24:15 +02:00
2023-06-01 11:43:51 +02:00
2023-07-06 15:03:42 +02:00
2023-07-19 18:24:15 +02:00
2023-06-05 14:50:20 +02:00
2023-07-17 12:06:18 +02:00
2023-07-20 11:49:06 +02:00
2023-07-17 19:26:03 +02:00
2023-07-20 08:57:08 +02:00
2023-07-20 11:49:06 +02:00
2023-07-05 14:21:28 +02:00
2023-07-19 18:24:15 +02:00
2023-07-20 10:07:05 +02:00
2023-06-28 17:41:19 +02:00
2023-06-01 11:43:51 +02:00
2023-06-22 18:29:50 +02:00
2023-05-22 17:52:07 +02:00
2023-06-28 09:59:59 +02:00
2023-06-12 22:39:26 +02:00
2023-07-19 18:24:15 +02:00
2023-06-27 17:33:02 +02:00
2023-07-05 14:21:28 +02:00
2023-07-19 18:24:15 +02:00
2023-07-11 12:00:40 +02:00
2023-05-22 17:52:07 +02:00
2023-07-20 13:06:46 +02:00
2023-07-13 14:47:44 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 18:24:10 +02:00
2023-07-18 11:42:26 +02:00
2023-07-20 05:03:02 +02:00
2023-05-22 17:52:07 +02:00
2023-07-15 10:54:46 +02:00
2023-06-22 15:41:00 +02:00
2023-05-17 10:34:00 +02:00
2023-07-20 13:07:05 +02:00
2023-06-01 11:43:51 +02:00
2023-07-13 19:28:04 +02:00
2023-06-15 17:35:42 +02:00
2023-06-23 16:35:35 +02:00
2023-07-20 11:49:06 +02:00
2023-05-22 17:52:07 +02:00
2023-06-15 17:35:42 +02:00
2023-07-07 15:27:56 +02:00
2023-07-07 10:52:36 +02:00
2023-06-15 17:35:42 +02:00
2023-05-22 17:52:07 +02:00
2023-06-15 17:35:42 +02:00
2023-06-30 00:20:45 +02:00
2023-05-22 17:52:07 +02:00
2023-07-20 03:56:26 +02:00
2023-07-20 11:49:06 +02:00
2023-06-26 22:15:22 +02:00
2023-05-22 17:52:07 +02:00
2023-06-23 16:35:35 +02:00
2023-07-10 15:32:26 +02:00
2023-07-20 11:49:06 +02:00
2023-07-07 16:42:41 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-07-10 15:32:29 +02:00
2023-07-20 11:49:06 +02:00
2023-06-14 10:54:24 +02:00
2023-07-10 15:32:28 +02:00
2023-05-22 17:52:07 +02:00
2023-06-15 17:35:42 +02:00
2023-07-10 11:48:57 +02:00
2023-07-10 15:32:29 +02:00
2023-07-20 11:49:06 +02:00
2023-05-31 09:23:10 +02:00
2023-07-11 06:52:57 +02:00
2023-06-15 17:35:42 +02:00
2023-07-20 11:49:06 +02:00
2023-07-11 09:10:21 +02:00
2023-05-22 17:52:07 +02:00
2023-07-20 11:49:06 +02:00
2023-05-22 17:52:07 +02:00
2023-07-20 11:49:06 +02:00
2023-06-26 13:21:03 +02:00
2023-07-20 11:49:06 +02:00
2023-07-12 21:45:44 +02:00
2023-06-19 10:40:43 +02:00
2023-07-13 14:47:36 +02:00
2023-07-10 15:32:28 +02:00
2023-07-20 06:40:43 +02:00
2023-07-10 15:32:28 +02:00
2023-06-15 17:35:42 +02:00
2023-06-15 17:35:42 +02:00
2023-07-10 15:32:07 +02:00
2023-05-22 17:52:07 +02:00
2023-06-15 07:57:03 +02:00
2023-07-15 12:00:33 +02:00
2023-06-15 17:35:42 +02:00
2023-06-14 10:54:24 +02:00
2023-05-12 22:59:22 +02:00
2023-07-20 11:49:06 +02:00
2023-06-19 10:40:43 +02:00
2023-06-16 13:41:00 +02:00
2023-06-16 13:41:00 +02:00
2023-06-15 17:35:42 +02:00
2023-07-20 11:49:06 +02:00
2023-05-23 20:57:15 +02:00
2023-07-07 12:09:57 +02:00
2023-07-10 15:32:27 +02:00
2023-06-15 17:35:42 +02:00
2023-06-15 17:35:42 +02:00
2023-06-28 17:41:19 +02:00
2023-07-20 11:49:06 +02:00
2023-06-28 17:41:19 +02:00
2023-05-22 17:52:07 +02:00
2023-06-15 17:35:42 +02:00
2023-05-22 17:52:07 +02:00
2023-06-15 17:35:42 +02:00
2023-06-07 08:59:00 +02:00
2023-07-10 15:32:25 +02:00
2023-07-10 15:32:29 +02:00
2023-07-10 15:32:27 +02:00
2023-06-15 17:35:42 +02:00
2023-07-10 15:32:25 +02:00
2023-07-20 11:49:06 +02:00
2023-07-19 18:24:15 +02:00
2023-05-11 10:40:55 +02:00
2023-07-18 10:20:08 +02:00
2023-06-15 17:35:42 +02:00
2023-06-30 01:32:47 +02:00
2023-06-15 17:35:42 +02:00
2023-07-15 10:54:20 +02:00
2023-07-20 11:49:06 +02:00
2023-06-05 17:51:06 +02:00
2023-06-15 17:35:42 +02:00
2023-07-20 06:40:43 +02:00
2023-06-15 17:35:42 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-06-15 17:35:42 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-06-24 03:35:44 +02:00
2023-06-15 17:35:42 +02:00
2023-07-10 15:32:26 +02:00
2023-07-10 15:32:28 +02:00
2023-07-20 06:40:43 +02:00
2023-06-15 17:35:42 +02:00
2023-06-26 20:00:32 +02:00
2023-07-20 13:07:11 +02:00
2023-07-17 20:36:09 +02:00
2023-07-19 18:24:15 +02:00
2023-07-20 03:56:29 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 10:23:59 +02:00
2023-07-19 19:37:55 +02:00
2023-06-30 00:21:03 +02:00
2023-07-19 18:24:15 +02:00
2023-06-01 11:43:51 +02:00
2023-06-01 11:43:51 +02:00
2023-05-22 17:52:07 +02:00
2023-07-13 12:26:17 +02:00
2023-05-22 17:52:07 +02:00
2023-06-01 11:43:51 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 21:59:57 +02:00
2023-07-19 18:24:15 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 18:24:15 +02:00
2023-06-22 19:37:10 +02:00
2023-07-20 11:49:28 +02:00
2023-07-20 11:49:06 +02:00
2023-07-20 11:49:27 +02:00
2023-07-20 11:49:27 +02:00
2023-05-17 14:47:15 +02:00
2023-07-18 09:07:16 +02:00
2023-06-01 11:43:51 +02:00
2023-05-22 13:54:08 +02:00
2023-07-04 10:16:13 +02:00
2023-07-17 13:30:46 +02:00
2023-07-20 11:49:06 +02:00
2023-07-05 15:58:31 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 13:54:08 +02:00
2023-05-22 13:54:08 +02:00
2023-07-05 14:34:00 +02:00
2023-05-22 17:52:07 +02:00
2023-07-20 11:49:06 +02:00
2023-05-22 13:54:08 +02:00
2023-05-22 13:54:08 +02:00
2023-05-22 13:54:08 +02:00
2023-06-19 10:41:00 +02:00
2023-05-22 17:52:07 +02:00
2023-06-01 11:44:13 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-22 13:54:08 +02:00
2023-05-22 17:52:07 +02:00
2023-07-19 13:13:13 +02:00
2023-07-19 18:24:15 +02:00
2023-07-20 11:49:34 +02:00
2023-07-19 18:24:15 +02:00
2023-06-05 13:31:35 +02:00
2023-07-18 19:27:56 +02:00
2023-07-12 07:40:24 +02:00
2023-06-19 10:40:43 +02:00
2023-07-19 13:13:16 +02:00
2023-06-05 17:51:06 +02:00
2023-07-19 13:13:16 +02:00
2023-07-18 19:27:56 +02:00
2023-07-05 14:33:58 +02:00
2023-07-20 11:49:05 +02:00
2023-07-20 14:22:57 +02:00
2023-07-20 11:49:06 +02:00
2023-07-19 13:13:16 +02:00
2023-06-05 17:51:06 +02:00
2023-07-20 11:49:06 +02:00
2023-07-20 14:22:57 +02:00
2023-07-18 11:42:47 +02:00
2023-06-27 16:26:45 +02:00
2023-06-28 17:41:19 +02:00
2023-07-20 11:49:06 +02:00
2023-05-22 17:52:07 +02:00
2023-07-19 18:24:15 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 18:24:15 +02:00
2023-06-01 11:43:51 +02:00
2023-07-20 13:06:46 +02:00
2023-07-19 23:17:53 +02:00
2023-07-19 23:17:53 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 23:17:53 +02:00
2023-07-19 23:17:53 +02:00
2023-07-19 23:17:53 +02:00
2023-07-20 13:06:46 +02:00
2023-07-20 05:03:05 +02:00
2023-07-20 11:49:06 +02:00
2023-07-13 19:28:21 +02:00
2023-07-19 13:13:16 +02:00
2023-06-28 17:41:53 +02:00
2023-07-17 18:13:30 +02:00
2023-07-20 11:49:06 +02:00
2023-06-28 17:41:19 +02:00
2023-07-20 11:49:06 +02:00
2023-06-29 22:38:49 +02:00
2023-07-20 11:49:06 +02:00
2023-07-19 18:24:15 +02:00
2023-07-07 15:27:50 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 18:24:15 +02:00
2023-06-01 11:43:51 +02:00
2023-07-20 11:49:06 +02:00
2023-06-22 08:34:58 +02:00
2023-07-18 09:07:13 +02:00
2023-07-19 20:45:07 +02:00
2023-06-01 11:43:51 +02:00
2023-07-20 13:06:46 +02:00
2023-06-23 09:20:57 +02:00
2023-05-12 19:55:08 +02:00
2023-05-24 09:49:05 +02:00
2023-07-12 21:45:44 +02:00
2023-07-20 10:07:11 +02:00
2023-07-20 13:06:46 +02:00
2023-07-15 13:05:56 +02:00
2023-07-19 18:24:15 +02:00
2023-07-20 11:49:04 +02:00
2023-06-09 17:01:17 +02:00
2023-05-22 17:52:07 +02:00
2023-07-20 11:49:50 +02:00
2023-07-20 11:49:06 +02:00
2023-07-05 10:12:48 +02:00
2023-06-15 10:44:58 +02:00
2023-06-01 11:43:51 +02:00
2023-06-13 14:07:27 +02:00
2023-06-13 14:07:27 +02:00
2023-07-20 11:49:06 +02:00
2023-07-20 11:49:06 +02:00
2023-07-19 18:24:15 +02:00
2023-07-15 13:05:53 +02:00
2023-06-23 10:27:38 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 18:24:15 +02:00
2023-07-19 18:24:15 +02:00
2023-06-12 22:39:26 +02:00
2023-06-28 17:41:19 +02:00
2023-07-05 11:37:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 18:24:10 +02:00
2023-07-19 18:24:10 +02:00
2023-06-12 10:02:22 +02:00
2023-07-19 13:13:16 +02:00
2023-06-12 22:39:26 +02:00
2023-07-20 10:07:25 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-06-28 17:41:19 +02:00
2023-06-01 11:43:51 +02:00
2023-06-28 17:41:19 +02:00
2023-07-17 12:05:48 +02:00
2023-07-20 11:49:17 +02:00
2023-07-20 10:07:25 +02:00
2023-07-19 13:13:16 +02:00
2023-06-08 23:01:21 +02:00
2023-07-20 10:07:25 +02:00
2023-07-19 13:13:16 +02:00
2023-07-17 12:06:18 +02:00
2023-07-19 13:13:16 +02:00
2023-07-18 11:42:26 +02:00
2023-06-01 11:43:51 +02:00
2023-07-20 13:06:53 +02:00
2023-07-11 22:33:47 +02:00
2023-07-19 13:13:16 +02:00
2023-07-11 22:33:47 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-06-01 11:43:51 +02:00
2023-07-11 22:33:47 +02:00
2023-07-11 22:33:47 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 13:13:16 +02:00
2023-07-15 04:01:12 +02:00
2023-07-13 19:27:52 +02:00
2023-06-19 23:17:01 +02:00
2023-05-22 17:52:07 +02:00
2023-07-19 13:13:16 +02:00
2023-06-28 17:41:19 +02:00
2023-07-19 13:13:16 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-18 16:58:43 +02:00
2023-06-01 11:43:51 +02:00
2023-07-19 13:13:16 +02:00
2023-07-11 22:33:47 +02:00
2023-05-30 10:31:43 +02:00
2023-07-20 11:49:06 +02:00
2023-07-19 11:39:44 +02:00
2023-07-20 11:49:06 +02:00
2023-07-19 13:13:16 +02:00
2023-07-20 10:06:47 +02:00
2023-06-26 21:10:01 +02:00
2023-07-19 18:24:15 +02:00
2023-06-29 09:10:54 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 13:13:16 +02:00
2023-07-19 20:45:09 +02:00
2023-07-18 16:58:43 +02:00
2023-06-30 01:32:52 +02:00
2023-06-01 11:43:51 +02:00
2023-07-11 22:33:47 +02:00