Files
odoo_source/addons
Pedram (pebr) a48353d602 [FIX] pos_self_order: prevent error with online payment method
Prior to this commit, using an online payment method with an image in
self-ordering mode resulted in an issue preventing the opening of the
mobile menu. The specific error encountered was:
`TypeError: Object of type bytes is not JSON serializable`

This issue arose due to the image field being of type bytes. Since the
image field is not necessary for self-ordering, this commit addresses
the problem by preventing the loading of the image for a payment
method, resolving the serialization error.

opw-3624798

closes odoo/odoo#151388

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2024-01-27 01:29:54 +00:00
..
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2024-01-26 09:13:04 +00:00
2024-01-15 09:30:53 +00:00
2024-01-26 09:13:03 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2024-01-25 09:46:47 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00