Aaron Bohy
60f143c8e7
[FIX] board: handle actions with no view_mode
...
The view_mode attribute is automatically set to the 'action' nodes
when the action is added to the dashboard using the 'Add to
dashboard' button in the searchview. However, other dashboard views
can be written by hand (see openacademy tutorial), and in this
case, we don't want to hardcode action's params (like context or
domain), as the dashboard can directly retrieve them from the
action. Same applies for the view_type, as the first view of the
action can be used, by default.
Before this rev., the second usecase wasn't handled, and it crashed
when no view_mode was specified. This rev. also ensure that the
context and domain are correctly retrieved from the action.
Closes #24088
closes odoo/odoo#27519
2018-10-08 09:21:39 +00:00
..
2018-10-08 13:55:31 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 10:45:06 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 12:22:27 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-09 14:26:21 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-09 13:44:38 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 09:21:39 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-02 13:15:40 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-09 13:44:38 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-09-25 23:01:40 +02:00
2018-10-02 14:27:11 +02:00
2018-10-01 16:34:30 +02:00
2018-09-25 23:01:40 +02:00
2018-09-25 23:01:40 +02:00
2018-10-02 08:38:21 +02:00
2018-09-25 23:01:40 +02:00
2018-09-25 23:01:40 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-19 15:58:10 +02:00
2018-09-19 16:11:51 +02:00
2018-09-27 12:10:23 +02:00
2018-10-03 17:56:58 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-10-02 12:35:34 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-14 16:06:41 +02:00
2018-10-01 11:27:51 +02:00
2018-10-01 16:01:54 +02:00
2018-10-01 16:01:54 +02:00
2018-10-03 17:48:14 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-10-01 16:01:54 +02:00
2018-09-18 15:58:44 +02:00
2018-09-28 13:39:26 +02:00
2018-09-27 12:10:23 +02:00
2018-09-18 14:30:04 +02:00
2018-09-28 13:39:26 +02:00
2018-09-28 13:39:26 +02:00
2018-09-26 18:31:38 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-10-01 11:27:51 +02:00
2018-09-28 13:39:26 +02:00
2018-09-18 15:58:44 +02:00
2018-10-01 11:27:51 +02:00
2018-10-09 07:01:29 +00:00
2018-09-18 15:58:44 +02:00
2018-10-08 14:34:21 +00:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-26 15:56:11 +02:00
2018-09-18 15:58:44 +02:00
2018-09-27 12:10:23 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-09-18 15:58:44 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-08 07:13:33 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-08 09:33:04 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-09-21 14:02:22 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-09 12:56:03 +00:00
2018-10-09 12:42:40 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-08 11:38:45 +00:00
2018-10-07 02:27:57 +02:00
2018-10-09 08:30:31 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-09 14:14:31 +00:00
2018-10-07 02:27:57 +02:00
2018-10-09 13:44:38 +00:00
2018-10-07 02:27:57 +02:00
2018-10-08 09:22:34 +00:00
2018-10-08 07:52:57 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-09 08:30:31 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 12:58:16 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-05 11:28:50 +00:00
2018-10-07 02:27:57 +02:00
2018-10-02 16:05:17 +02:00
2018-10-02 16:52:18 +02:00
2018-10-07 02:27:57 +02:00
2018-09-16 07:08:38 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-09 09:08:48 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-09 13:44:38 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-09 08:30:31 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00
2018-10-08 07:13:33 +00:00
2018-10-07 02:27:57 +02:00
2018-10-07 02:27:57 +02:00