Rahul Prajapati and Samuel Degueldre
b119cca37b
[REF] point_of_sale, *: remove class and component registries
...
*: l10n_co_pos, l10n_fr_pos_cert, l10n_gcc_pos, l10n_in_pos,
l10n_sa_pos, pos_adyen, pos_discount, pos_epson_printer,
pos_epson_printer_restaurant, pos_hr, pos_hr_restaurant, pos_loyalty,
pos_mercury, pos_restaurant, pos_sale, pos_sale, pos_sale, pos_sale,
pos_sale, pos_sale, pos_sale_loyalty, pos_sale_product_configurator,
pos_six, pos_six, pos_six, pos_six, pos_stripe, pos_stripe
Previously, the point of sale module used a custom inheritance system
for models and components. This system being non-standard, it makes it
hard for newcomers to understand how to use it or for people with
experience in the pos code base to understand how things are done
elsewhere. This commit removes the "registries" system from the pos
modules and adapts existing code to use standard inheritance mechanisms,
ie extending classes directly, and using patch to modify behaviour in
place.
task-3119628
closes odoo/odoo#109928
Related: odoo/enterprise#35795
Signed-off-by: Samuel Degueldre <sad@odoo.com >
Co-authored-by: Samuel Degueldre <sad@odoo.com >
2023-01-23 16:01:27 +01:00
..
2023-01-23 11:19:59 +01:00
2023-01-11 22:43:27 +01:00
2023-01-16 09:32:51 +01:00
2023-01-19 18:49:56 +01:00
2023-01-20 18:54:44 +01:00
2022-12-13 11:47:49 +01:00
2023-01-18 10:16:12 +01:00
2022-12-26 11:39:44 +01:00
2023-01-17 01:10:09 +01:00
2023-01-16 19:45:57 +01:00
2023-01-03 13:16:02 +01:00
2023-01-03 13:16:02 +01:00
2022-12-16 16:17:41 +01:00
2022-12-23 12:10:55 +01:00
2023-01-16 19:45:52 +01:00
2023-01-13 16:27:38 +01:00
2022-12-20 10:23:54 +01:00
2023-01-17 10:20:51 +01:00
2023-01-17 20:59:05 +01:00
2023-01-19 09:13:17 +01:00
2023-01-19 12:30:44 +01:00
2023-01-19 12:30:44 +01:00
2023-01-20 20:58:26 +01:00
2023-01-17 20:58:34 +01:00
2023-01-17 20:58:34 +01:00
2023-01-09 16:39:15 +01:00
2023-01-17 20:58:35 +01:00
2023-01-18 21:08:52 +01:00
2023-01-17 18:12:48 +01:00
2023-01-20 19:56:52 +01:00
2023-01-17 20:58:34 +01:00
2022-12-14 22:03:58 +01:00
2023-01-20 21:56:55 +01:00
2023-01-05 15:37:04 +01:00
2022-12-16 16:17:41 +01:00
2023-01-17 20:58:30 +01:00
2023-01-11 22:43:14 +01:00
2023-01-17 16:47:14 +01:00
2023-01-12 11:09:40 +01:00
2023-01-23 11:20:26 +01:00
2023-01-17 20:58:34 +01:00
2022-12-12 18:16:17 +01:00
2023-01-23 11:19:59 +01:00
2022-12-19 13:38:09 +01:00
2023-01-20 09:40:49 +01:00
2023-01-17 20:58:40 +01:00
2023-01-17 20:59:30 +01:00
2022-12-16 16:17:41 +01:00
2022-12-09 10:44:59 +01:00
2022-12-09 10:45:02 +01:00
2022-12-09 10:45:02 +01:00
2022-12-09 10:45:02 +01:00
2023-01-16 11:36:49 +01:00
2023-01-05 15:37:04 +01:00
2023-01-11 14:30:46 +01:00
2023-01-17 20:58:34 +01:00
2023-01-16 19:45:57 +01:00
2022-12-27 11:17:41 +01:00
2023-01-17 18:12:48 +01:00
2022-12-14 14:19:58 +01:00
2023-01-19 12:30:44 +01:00
2023-01-18 17:38:01 +01:00
2023-01-17 19:55:50 +01:00
2023-01-02 20:39:53 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2022-12-09 11:48:42 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-06 14:31:49 +01:00
2023-01-10 14:40:55 +01:00
2023-01-23 16:01:27 +01:00
2023-01-17 19:55:50 +01:00
2023-01-05 15:36:56 +01:00
2023-01-05 11:35:46 +01:00
2023-01-18 13:25:32 +01:00
2023-01-18 13:25:32 +01:00
2023-01-18 13:25:32 +01:00
2023-01-18 13:25:32 +01:00
2023-01-18 13:25:32 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-03 13:16:05 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-13 12:57:44 +01:00
2022-12-09 13:03:38 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-19 17:49:11 +01:00
2023-01-23 16:01:27 +01:00
2023-01-10 15:43:16 +01:00
2023-01-23 16:01:27 +01:00
2023-01-17 19:55:50 +01:00
2022-12-16 16:17:41 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-09 12:22:49 +01:00
2023-01-17 19:55:50 +01:00
2023-01-16 10:32:17 +01:00
2023-01-19 17:49:17 +01:00
2023-01-17 12:59:05 +01:00
2023-01-23 16:01:27 +01:00
2023-01-02 09:53:57 +01:00
2023-01-02 09:53:57 +01:00
2023-01-02 09:53:57 +01:00
2023-01-02 09:53:57 +01:00
2023-01-12 11:09:19 +01:00
2023-01-16 10:32:18 +01:00
2023-01-17 19:55:50 +01:00
2023-01-18 20:04:13 +01:00
2023-01-18 20:04:13 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-20 17:52:16 +01:00
2023-01-17 19:55:50 +01:00
2022-12-19 11:33:47 +01:00
2022-12-16 16:17:41 +01:00
2023-01-21 18:34:50 +01:00
2023-01-17 19:55:50 +01:00
2022-12-09 19:45:52 +01:00
2023-01-19 09:13:03 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2022-12-07 18:29:39 +01:00
2022-12-16 12:45:40 +01:00
2023-01-18 17:37:44 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-23 16:01:27 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-09 15:28:53 +01:00
2023-01-03 20:14:46 +01:00
2023-01-17 19:55:50 +01:00
2023-01-02 20:39:27 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-11 07:27:14 +01:00
2023-01-17 19:55:50 +01:00
2023-01-17 19:55:50 +01:00
2023-01-20 06:21:02 +01:00
2023-01-17 20:58:40 +01:00
2023-01-17 20:58:35 +01:00
2023-01-23 11:20:23 +01:00
2023-01-17 20:58:34 +01:00
2023-01-17 20:58:34 +01:00
2023-01-05 15:37:04 +01:00
2023-01-23 13:18:59 +01:00
2022-12-14 07:49:03 +01:00
2022-12-14 07:49:03 +01:00
2022-12-22 15:55:07 +01:00
2023-01-03 13:16:02 +01:00
2023-01-11 22:43:14 +01:00
2023-01-09 22:31:51 +01:00
2023-01-23 11:20:08 +01:00
2023-01-20 09:40:52 +01:00
2023-01-11 13:20:48 +01:00
2023-01-23 11:19:59 +01:00
2023-01-19 14:01:27 +01:00
2023-01-10 18:54:47 +01:00
2023-01-06 08:09:07 +01:00
2023-01-17 20:58:34 +01:00
2023-01-20 18:54:44 +01:00
2023-01-10 13:40:01 +01:00
2023-01-20 18:54:44 +01:00
2023-01-05 16:51:56 +01:00
2023-01-20 18:54:44 +01:00
2023-01-05 16:51:56 +01:00
2023-01-20 18:54:44 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2023-01-20 18:54:44 +01:00
2023-01-05 16:51:56 +01:00
2023-01-20 18:54:44 +01:00
2023-01-20 18:54:44 +01:00
2023-01-05 16:51:56 +01:00
2023-01-05 16:51:56 +01:00
2023-01-20 18:54:44 +01:00
2023-01-17 20:58:33 +01:00
2023-01-23 16:01:27 +01:00
2023-01-17 20:58:34 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-19 18:49:53 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 16:01:27 +01:00
2023-01-23 14:25:23 +01:00
2023-01-17 20:58:34 +01:00
2023-01-06 18:41:46 +01:00
2023-01-04 11:35:49 +01:00
2022-12-15 12:37:01 +01:00
2023-01-23 16:01:18 +01:00
2022-12-19 11:33:49 +01:00
2023-01-17 12:58:48 +01:00
2023-01-17 20:58:40 +01:00
2023-01-13 16:27:26 +01:00
2023-01-13 17:32:51 +01:00
2022-12-15 12:37:01 +01:00
2023-01-19 12:30:59 +01:00
2023-01-13 16:27:26 +01:00
2023-01-13 16:27:26 +01:00
2023-01-20 21:57:26 +01:00
2023-01-23 16:01:18 +01:00
2023-01-18 21:08:52 +01:00
2023-01-23 11:19:59 +01:00
2023-01-21 20:01:49 +01:00
2023-01-18 21:08:52 +01:00
2023-01-20 08:40:44 +01:00
2023-01-18 21:08:52 +01:00
2022-12-14 17:17:52 +01:00
2023-01-18 21:08:52 +01:00
2023-01-18 21:08:52 +01:00
2023-01-17 11:34:12 +01:00
2023-01-13 16:27:26 +01:00
2022-12-19 11:33:47 +01:00
2023-01-16 15:43:00 +01:00
2023-01-23 11:19:59 +01:00
2023-01-20 09:41:00 +01:00
2023-01-23 16:01:18 +01:00
2023-01-10 18:54:47 +01:00
2023-01-20 20:58:43 +01:00
2023-01-02 10:53:54 +01:00
2023-01-20 20:58:01 +01:00
2023-01-17 20:59:02 +01:00
2023-01-20 20:58:01 +01:00
2022-12-12 13:18:59 +01:00
2023-01-02 12:56:33 +01:00
2023-01-04 18:49:46 +01:00
2023-01-13 16:27:17 +01:00
2022-12-09 16:41:01 +01:00
2023-01-12 19:08:55 +01:00
2023-01-03 13:16:23 +01:00
2023-01-03 13:16:23 +01:00
2023-01-03 13:16:23 +01:00
2022-12-09 16:41:01 +01:00
2022-12-09 16:41:01 +01:00
2023-01-23 12:21:42 +01:00
2023-01-20 09:40:52 +01:00
2023-01-18 21:08:52 +01:00
2022-12-23 12:10:58 +01:00
2023-01-20 20:57:57 +01:00
2023-01-13 16:27:38 +01:00
2023-01-18 21:08:52 +01:00
2023-01-20 21:56:48 +01:00
2023-01-17 20:58:39 +01:00
2023-01-17 20:58:42 +01:00
2022-12-09 16:40:58 +01:00
2023-01-18 21:08:52 +01:00
2023-01-20 20:58:12 +01:00
2023-01-20 06:21:02 +01:00
2023-01-23 16:01:21 +01:00
2023-01-20 21:57:06 +01:00
2022-12-15 15:45:07 +01:00
2022-12-07 18:29:13 +01:00
2023-01-20 21:56:45 +01:00
2023-01-17 20:58:34 +01:00
2023-01-03 13:16:02 +01:00
2023-01-17 20:58:34 +01:00
2023-01-16 19:45:57 +01:00
2023-01-11 09:38:46 +01:00
2023-01-18 21:08:52 +01:00
2023-01-16 19:45:57 +01:00
2023-01-16 19:45:57 +01:00
2023-01-02 12:56:21 +01:00
2023-01-18 21:08:52 +01:00
2023-01-17 20:58:41 +01:00
2023-01-16 19:45:57 +01:00
2023-01-17 20:58:34 +01:00
2023-01-03 13:16:02 +01:00
2023-01-16 19:45:57 +01:00
2023-01-05 11:35:58 +01:00
2023-01-13 09:18:48 +01:00
2023-01-20 21:57:04 +01:00
2023-01-02 11:53:08 +01:00
2023-01-16 19:45:57 +01:00
2023-01-18 21:08:52 +01:00
2023-01-18 21:08:52 +01:00
2023-01-18 21:08:52 +01:00
2023-01-18 21:08:52 +01:00
2023-01-18 21:08:52 +01:00
2023-01-18 21:08:52 +01:00
2023-01-17 20:59:22 +01:00
2023-01-17 18:12:48 +01:00
2023-01-16 19:45:57 +01:00