Files
odoo_source/addons
Aaron Bohy 66d9fe67a6 [FIX] web: Many2OneField: do not display a link if unset
Before this commit, an empty many2one field in readonly rendered
an empty `<a href"...">` node. Even though that link was no visible,
it had a non null width, and was thus clickable (the cursor changed
when hovering it). When clicked, it opened the form view of the
comodel, in create mode.

This commit fixes the issue by not rendering anything if the value
is false.

closes odoo/odoo#100158

Signed-off-by: Géry Debongnie <ged@odoo.com>
2022-09-15 12:41:07 +02:00
..
2022-07-07 13:30:24 +02:00
2022-07-07 13:30:24 +02:00
2022-09-01 19:16:47 +02:00
2022-07-07 13:30:24 +02:00
2022-09-01 21:25:29 +02:00
2022-07-07 13:30:24 +02:00
2022-07-07 13:30:24 +02:00
2022-07-07 13:30:24 +02:00
2022-08-08 12:33:03 +02:00
2022-07-07 13:30:24 +02:00