Daniel Kosky (dako)
78192c45c0
[IMP] account_peppol: demo mode
...
This commit implements a demo mode in which a user can register to
peppol. The demo user performs no communication with the proxy server,
instead making and receiving only mocked calls and responses.
The @handle_demo decorator is added and utilised in order to avoid
adding the specific (and mostly irrelevant) branches of this of demo
functionality to the body of the code. When the edi_user has the
edi_mode 'demo' this decorator diverts the execution of the
function (excepting when running tests, whenupon it is ignored).
Specific logic is added to the res config settings in order to specify
which modes are availble to the current user based on the
"account_peppol.mode_constraint" config param, and the
"saas_trail.confirmation_token" config param. This allows us to default
users using runbot/demo-data/saas-trial databases to "demo" mode
registration.
task-id: 3497466
3497725
closes odoo/odoo#136909
Signed-off-by: Laurent Smet (las) <las@odoo.com >
2023-10-17 00:35:05 +00:00
..
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-12 08:09:30 +00:00
2023-10-13 10:36:08 +00:00
2023-10-11 08:18:49 +00:00
2023-10-13 21:11:53 +00:00
2023-10-17 00:35:05 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-13 21:11:52 +00:00
2023-10-06 14:33:43 +00:00
2023-10-10 01:59:48 +00:00
2023-10-05 10:21:53 +00:00
2023-10-09 10:48:48 +00:00
2023-10-16 07:58:42 +00:00
2023-10-08 22:12:13 +00:00
2023-10-05 10:21:53 +00:00
2023-10-10 12:34:59 +00:00
2023-10-10 00:54:04 +00:00
2023-10-09 10:48:48 +00:00
2023-10-10 07:15:45 +00:00
2023-10-05 10:21:53 +00:00
2023-10-13 14:14:05 +00:00
2023-10-14 01:24:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-12 03:59:52 +00:00
2023-10-16 09:21:17 +00:00
2023-10-14 02:26:53 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-10 12:34:56 +00:00
2023-10-16 09:21:17 +00:00
2023-10-06 09:39:19 +00:00
2023-10-11 08:18:49 +00:00
2023-10-03 20:17:48 +00:00
2023-10-16 09:21:17 +00:00
2023-10-13 07:33:49 +00:00
2023-10-13 07:33:49 +00:00
2023-10-13 07:33:49 +00:00
2023-10-13 07:33:49 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 07:58:45 +00:00
2023-10-11 08:18:49 +00:00
2023-10-16 10:40:00 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-12 16:12:09 +00:00
2023-10-16 09:21:17 +00:00
2023-10-06 08:25:12 +00:00
2023-10-16 08:17:30 +02:00
2023-10-06 13:08:55 +00:00
2023-10-11 08:18:49 +00:00
2023-10-12 16:11:59 +00:00
2023-10-16 08:17:31 +02:00
2023-10-16 09:21:17 +00:00
2023-10-16 10:39:50 +00:00
2023-10-11 08:18:49 +00:00
2023-10-16 10:39:50 +00:00
2023-10-11 17:01:59 +00:00
2023-10-16 09:21:17 +00:00
2023-10-12 16:12:02 +00:00
2023-10-16 09:21:17 +00:00
2023-10-06 08:25:12 +00:00
2023-10-06 14:33:43 +00:00
2023-10-06 14:33:43 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 12:00:02 +00:00
2023-10-11 18:03:22 +00:00
2023-10-06 13:08:51 +00:00
2023-10-14 03:27:04 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-16 07:58:41 +00:00
2023-10-13 09:17:48 +00:00
2023-10-06 13:08:56 +00:00
2023-10-16 13:11:10 +00:00
2023-10-16 09:21:11 +00:00
2023-10-16 09:21:11 +00:00
2023-10-14 03:27:09 +00:00
2023-10-06 13:08:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-13 23:20:14 +00:00
2023-10-06 13:08:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-14 03:27:04 +00:00
2023-10-11 08:18:49 +00:00
2023-10-13 21:11:46 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 17:01:58 +00:00
2023-10-06 13:08:51 +00:00
2023-10-13 21:11:46 +00:00
2023-10-06 13:08:51 +00:00
2023-10-10 01:59:43 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 09:39:26 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-04 20:52:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-16 17:20:44 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-12 09:49:42 +00:00
2023-10-09 19:18:42 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:56 +00:00
2023-10-11 08:18:49 +00:00
2023-10-12 14:44:52 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-14 03:27:04 +00:00
2023-10-06 13:08:51 +00:00
2023-10-11 08:18:49 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-10 17:26:34 +00:00
2023-10-06 13:08:51 +00:00
2023-10-06 13:08:51 +00:00
2023-10-13 19:14:53 +00:00
2023-10-12 17:20:44 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 10:39:56 +00:00
2023-10-16 09:21:17 +00:00
2023-10-11 08:18:49 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-13 07:33:49 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-11 20:21:46 +00:00
2023-10-16 09:21:17 +00:00
2023-10-03 20:17:49 +00:00
2023-10-13 09:17:45 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 08:18:49 +00:00
2023-10-11 06:59:49 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 17:20:42 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 12:00:04 +00:00
2023-10-13 11:46:30 +00:00
2023-10-08 22:12:13 +00:00
2023-10-12 16:11:56 +00:00
2023-10-16 07:58:46 +00:00
2023-10-11 08:18:49 +00:00
2023-10-12 14:44:56 +00:00
2023-10-16 09:21:16 +00:00
2023-10-16 12:00:04 +00:00
2023-10-16 09:21:16 +00:00
2023-10-12 16:11:56 +00:00
2023-10-10 15:42:52 +00:00
2023-10-16 09:21:17 +00:00
2023-10-11 08:18:49 +00:00
2023-10-16 09:21:17 +00:00
2023-10-05 15:36:24 +00:00
2023-10-09 07:00:09 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 10:39:53 +00:00
2023-10-11 08:18:49 +00:00
2023-10-10 12:34:56 +00:00
2023-10-10 12:34:56 +00:00
2023-10-16 09:21:21 +00:00
2023-10-06 14:33:43 +00:00
2023-10-16 09:21:17 +00:00
2023-10-05 10:21:53 +00:00
2023-10-16 09:21:17 +00:00
2023-10-10 19:34:06 +00:00
2023-10-16 09:21:17 +00:00
2023-10-06 09:39:29 +00:00
2023-10-10 00:54:04 +00:00
2023-10-11 08:18:49 +00:00
2023-10-10 01:59:41 +00:00
2023-10-11 08:18:55 +00:00
2023-10-16 09:21:21 +00:00
2023-10-16 09:21:17 +00:00
2023-10-10 00:54:04 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-13 11:46:21 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-04 19:40:26 +00:00
2023-10-04 19:40:13 +00:00
2023-10-16 07:58:44 +00:00
2023-10-16 09:21:17 +00:00
2023-10-06 14:33:43 +00:00
2023-10-13 11:46:13 +00:00
2023-10-13 07:33:49 +00:00
2023-10-13 11:46:13 +00:00
2023-10-06 06:13:55 +00:00
2023-10-13 19:14:53 +00:00
2023-10-13 07:33:49 +00:00
2023-10-06 14:33:43 +00:00
2023-10-06 14:33:38 +00:00
2023-10-14 03:27:03 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 13:11:15 +00:00
2023-10-16 13:11:16 +00:00
2023-10-16 08:17:31 +02:00
2023-10-13 21:11:52 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-11 08:18:49 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-08 22:12:13 +00:00
2023-10-04 13:01:23 +00:00
2023-10-04 13:01:23 +00:00
2023-10-06 14:33:43 +00:00
2023-10-13 07:33:49 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-13 09:17:45 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 12:00:02 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-11 08:18:49 +00:00
2023-10-16 17:20:42 +00:00
2023-10-11 08:18:49 +00:00
2023-10-10 17:26:31 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-16 09:21:17 +00:00
2023-10-10 00:54:04 +00:00
2023-10-08 22:12:13 +00:00