Aaron Bohy
3d959382fd
[FIX] web,mail: one2many records: multiple views
...
A record of the basic model may need to be displayed in different
views (e.g. a o2m record is displayed in the, e.g., Kanban view
inside the main form view, and if clicked, it is also displayed
in the form view opened in a dialog). However, the fields present
in those views may differ.
The previous implementation of fieldsInfo in the record didn't
handle that, as it was a dict whose keys were field names. With
this commit, the fieldsInfo is dict whose keys are view types, and
the values are dicts whose keys are field names (the fields of
the corresponding views, with they attrs in the view).
This allows to create multiple o2m records in a row in a form view.
2017-04-11 19:44:38 +02:00
..
2017-04-11 19:44:38 +02:00
2017-04-08 17:57:14 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-04-08 16:52:05 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-08 16:52:05 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 14:17:22 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 14:53:29 +02:00
2017-04-11 14:53:29 +02:00
2017-04-11 14:53:29 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 18:05:31 +02:00
2017-04-11 14:53:29 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 14:53:29 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 14:53:29 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 14:17:22 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-28 14:17:22 +02:00
2017-04-11 14:53:29 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 14:53:29 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-03-28 14:45:29 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-03-28 18:05:31 +02:00
2017-04-03 10:38:03 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 15:30:30 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 14:17:22 +02:00
2017-03-28 18:05:31 +02:00
2017-04-11 19:44:38 +02:00
2017-03-30 08:59:13 +02:00
2017-03-30 08:59:13 +02:00
2017-03-30 08:59:13 +02:00
2017-03-28 14:51:14 +02:00
2017-04-11 19:44:38 +02:00
2017-03-12 00:30:59 +01:00
2017-04-06 15:08:33 +02:00
2017-03-12 00:30:59 +01:00
2017-03-28 18:05:31 +02:00
2017-03-12 02:54:51 +01:00
2017-03-26 00:31:50 +01:00
2017-03-26 03:09:57 +02:00
2017-03-12 02:54:51 +01:00
2017-03-19 00:31:31 +01:00
2017-04-06 15:06:48 +02:00
2017-03-28 18:05:31 +02:00
2017-03-12 00:30:59 +01:00
2017-03-13 14:47:18 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-30 08:59:13 +02:00
2017-04-06 15:02:02 +02:00
2017-03-19 00:31:31 +01:00
2017-04-06 11:17:58 +02:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-26 00:31:50 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-19 02:55:34 +01:00
2017-03-26 07:12:58 +02:00
2017-03-30 08:59:13 +02:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-26 00:31:50 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-19 02:55:34 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-19 02:55:34 +01:00
2017-03-12 00:30:59 +01:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-07 15:48:59 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 14:17:22 +02:00
2017-04-11 17:15:01 +02:00
2017-04-11 14:53:29 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 14:17:22 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 14:17:22 +02:00
2017-04-08 16:52:05 +02:00
2017-04-11 19:44:38 +02:00
2017-03-28 14:17:22 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 14:17:22 +02:00
2017-03-28 18:38:49 +02:00
2017-03-28 14:17:22 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-03-29 10:53:16 +02:00
2017-03-26 00:31:50 +01:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-29 14:20:56 +02:00
2017-03-28 14:17:22 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-03-28 14:17:22 +02:00
2017-03-28 14:17:22 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 18:05:31 +02:00
2017-03-27 11:07:09 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-03-28 14:17:22 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 14:53:29 +02:00
2017-03-28 18:05:31 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 00:31:50 +01:00
2017-03-26 07:12:58 +02:00
2017-03-28 14:17:22 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-28 18:38:49 +02:00
2017-03-23 14:50:40 +01:00
2017-03-26 07:12:58 +02:00
2017-03-28 18:05:31 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-03-30 08:59:13 +02:00
2017-04-11 16:29:51 +02:00
2017-04-11 19:44:38 +02:00
2017-03-28 14:17:22 +02:00
2017-03-28 14:17:22 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 19:44:38 +02:00
2017-03-26 07:12:58 +02:00
2017-03-26 07:12:58 +02:00
2017-04-11 14:53:29 +02:00