Files
odoo_source/addons
Pedram (PEBR) 5e81b3e3d2 [FIX] pos_loyalty: handle many2one field in reward product domain
Before this commit, if you added a domain to a loyalty reward with
one of many2one fields like [("categ_id", "ilike", "test")], it wasn't
possible to open the PoS.

This commit addresses this limitation by replacing the many2one fields
with their corresponding value. To do this the product's field type is
loaded to ensure that this improvement applies exclusively to many2one
fields.

However, it's important to note that this improvement currently handles
only "one-level" of related many2one fields. Any domain that appears
like ("categ_id.foo", "ilike", "foo-val") won't function as expected.

opw-3473103

closes odoo/odoo#134811

X-original-commit: d0a6ab8d1f89f0dd2aa6641c63b6973ae7c753ad
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
Signed-off-by: Pedram Bi Ria (pebr) <pebr@odoo.com>
2023-09-08 15:26:10 +00:00
..
2023-08-23 21:07:54 +02:00
2023-09-06 16:19:51 +00:00
2023-09-08 08:29:53 +00:00
2023-08-18 19:17:16 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-09-06 11:51:00 +00:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-17 18:42:46 +02:00
2023-08-01 13:51:17 +02:00