Sébastien Theys
fec83667bb
[FIX] web: fix kanban_image when called for a different record
...
The issue is manifesting for example in the Contact kanban view where the
company image should be displayed in small. Before this fix, the person image
was displayed twice instead.
Following PR #30881 and commit: f78b7a76d6
The fix introduced by the above commit highlighted another issue with the
method: if the `model` and `id` given in parameter are different than the
current record, the method returned the url for the current record instead of
the requested record.
To fix the issue, we return the `raw_value` only if the requested record is the
current record. Otherwise, we return the manually built url.
PR: #31842
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com >
2019-03-14 14:10:54 +00:00
..
2019-03-11 14:42:34 +01:00
2019-03-10 06:02:07 +01:00
2019-03-03 06:02:06 +01:00
2019-03-10 06:02:07 +01:00
2019-03-10 06:02:07 +01:00
2019-02-21 15:37:19 +01:00
2019-03-10 06:02:07 +01:00
2019-02-24 01:37:50 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 06:02:07 +01:00
2019-03-11 14:42:34 +01:00
2019-02-24 01:37:50 +01:00
2019-01-31 16:59:58 +01:00
2019-02-28 12:39:03 +00:00
2019-03-01 02:45:39 +01:00
2019-03-03 01:36:23 +01:00
2019-02-24 01:37:50 +01:00
2019-03-11 14:42:34 +01:00
2019-03-04 13:40:44 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-08 17:56:14 +01:00
2019-03-01 02:45:39 +01:00
2019-02-24 01:37:50 +01:00
2019-03-01 02:45:39 +01:00
2019-03-11 14:42:34 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-02-28 13:47:09 +01:00
2019-03-11 14:42:34 +01:00
2019-03-01 02:45:39 +01:00
2019-02-17 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-11 14:42:34 +01:00
2019-02-14 14:10:35 +00:00
2019-02-15 10:04:23 +00:00
2019-02-24 01:37:50 +01:00
2019-03-03 01:36:23 +01:00
2019-03-03 03:15:43 +01:00
2019-03-01 02:45:39 +01:00
2019-02-21 15:37:19 +01:00
2019-03-01 02:45:39 +01:00
2019-03-08 17:56:14 +01:00
2019-03-03 03:15:43 +01:00
2019-03-12 10:29:51 +00:00
2019-03-11 14:42:34 +01:00
2019-03-03 03:15:43 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 01:36:23 +01:00
2019-03-07 07:51:44 +00:00
2019-03-01 02:45:39 +01:00
2019-02-14 16:28:54 +01:00
2019-03-03 03:15:43 +01:00
2019-03-12 10:29:51 +00:00
2019-03-01 02:45:39 +01:00
2019-03-11 14:42:34 +01:00
2019-03-08 17:56:14 +01:00
2019-03-12 10:29:51 +00:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-02-28 13:13:17 +00:00
2019-03-03 03:15:43 +01:00
2019-02-14 16:28:54 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-11 14:28:14 +00:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 01:36:23 +01:00
2019-01-15 15:23:24 +00:00
2019-02-28 12:39:03 +00:00
2019-01-15 15:23:24 +00:00
2019-02-28 12:39:03 +00:00
2019-03-01 02:45:39 +01:00
2019-03-03 01:36:23 +01:00
2019-03-03 01:36:23 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-11 14:42:34 +01:00
2019-02-19 16:35:17 +00:00
2019-02-05 15:36:54 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:53:59 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:22:56 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 08:10:49 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:02:28 +00:00
2019-02-08 06:02:37 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:48:18 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-11 14:42:34 +01:00
2019-01-21 12:33:03 +01:00
2019-02-13 09:20:25 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 07:25:46 +00:00
2019-02-28 12:39:03 +00:00
2019-02-05 11:48:28 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-01-18 08:35:33 +00:00
2019-01-18 08:35:33 +00:00
2019-01-18 08:35:33 +00:00
2019-02-08 06:26:51 +00:00
2019-02-20 17:37:22 +01:00
2019-02-21 21:36:52 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-08 17:56:14 +01:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:19:38 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:07:07 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-08 06:11:19 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-19 07:59:25 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-13 09:14:47 +00:00
2019-03-12 10:29:51 +00:00
2019-02-15 09:05:54 +00:00
2019-03-12 10:29:51 +00:00
2019-03-11 15:44:32 +01:00
2019-03-03 01:36:23 +01:00
2019-02-24 01:37:50 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 01:36:23 +01:00
2019-03-03 03:15:43 +01:00
2019-03-11 14:42:34 +01:00
2019-03-03 01:36:23 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-02-28 12:39:03 +00:00
2019-03-03 03:15:43 +01:00
2019-03-03 01:36:23 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-08 17:56:14 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-02-22 13:37:10 +00:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-02-24 01:37:50 +01:00
2019-03-11 14:42:34 +01:00
2019-03-11 14:42:34 +01:00
2019-02-28 12:39:03 +00:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-02-28 12:39:03 +00:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-11 14:42:34 +01:00
2019-03-03 03:15:43 +01:00
2019-03-12 10:29:51 +00:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-11 14:42:34 +01:00
2019-02-14 10:19:21 +00:00
2019-03-11 14:42:34 +01:00
2019-03-01 02:45:39 +01:00
2019-03-11 14:42:34 +01:00
2019-03-01 02:45:39 +01:00
2019-03-12 10:29:51 +00:00
2019-03-03 03:15:43 +01:00
2019-03-03 01:36:23 +01:00
2019-03-11 14:42:34 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 01:36:23 +01:00
2019-02-21 15:37:19 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 01:36:23 +01:00
2019-03-03 01:36:23 +01:00
2019-02-24 01:37:50 +01:00
2019-03-11 14:42:34 +01:00
2019-03-11 14:42:34 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-11 14:42:34 +01:00
2019-03-13 12:47:33 +00:00
2019-02-28 12:39:03 +00:00
2019-03-05 08:55:02 +00:00
2019-03-11 15:44:32 +01:00
2019-03-12 10:17:27 +00:00
2019-03-03 03:15:43 +01:00
2019-02-28 12:39:03 +00:00
2019-02-24 01:37:50 +01:00
2019-03-03 01:36:23 +01:00
2019-03-01 02:45:39 +01:00
2019-03-14 14:10:54 +00:00
2019-02-28 12:39:03 +00:00
2019-03-11 14:42:34 +01:00
2019-02-28 12:39:03 +00:00
2019-03-01 02:45:39 +01:00
2019-02-19 08:06:07 +00:00
2019-03-11 14:42:34 +01:00
2019-03-14 10:22:16 +00:00
2019-03-11 14:42:34 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-11 14:42:34 +01:00
2019-03-01 02:45:39 +01:00
2019-02-28 12:39:03 +00:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-08 14:54:37 +00:00
2019-02-28 12:39:03 +00:00
2019-03-04 13:40:44 +01:00
2019-03-01 02:45:39 +01:00
2019-03-08 16:10:55 +01:00
2019-03-01 02:45:39 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-08 11:14:45 +00:00
2019-03-03 03:15:43 +01:00
2019-03-11 14:42:34 +01:00
2019-03-11 14:42:34 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 01:36:23 +01:00
2019-02-17 03:14:20 +01:00
2019-03-04 16:12:57 +00:00
2019-03-08 17:56:14 +01:00
2019-03-11 14:42:34 +01:00
2019-03-12 15:36:50 +00:00
2019-03-12 15:31:40 +00:00
2019-03-12 15:31:40 +00:00
2019-03-11 14:42:34 +01:00
2019-02-28 12:39:03 +00:00