Files
odoo_source/addons
Aaron Bohy 65c8f41cf3 [FIX] web: Record: complete relational values
Now that the RelationalModel is based on unity, datapoints expect
to receive their data as returned by unity read (i.e. x2many values
are list of records, not ids, and many2one values are objects with
keys id and display_name, not tuple, or simple ids). As a
consequence, the Record component needed to be slightly adapted for
current usecases to continue working (e.g. using a Record component
for a Many2ManyTags field, and providing the value of the many2many
as a list of ids, like in the studio action editor sidebar).

This commit completes the relational values received by the Record
component with the related records, like if they were read by
unity.

The Record component's API will be reworked soon, now that the
new RelationalModel has been merged, to be more compliant with the
new unity concept.

Part of~3179751

Part-of: odoo/odoo#114024
2023-07-24 20:17:57 +02:00
..
2023-07-19 13:13:16 +02:00
2023-07-18 11:42:26 +02:00
2023-06-12 22:39:26 +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-07-19 18:24:15 +02:00
2023-07-19 18:24:15 +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-06-28 17:41:19 +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-07-19 13:13:16 +02:00
2023-06-28 17:41:19 +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