Aaron Bohy
034c075e7e
[FIX] web: default_get returning unknown field
...
Before this rev., it crashed when trying to create records of the
res.users model. This is due to commit ad1cceb .
The 'default_get' of 'res.users' always returns a value for field
'groups_id', whereas the docstring of 'default_get' states that it
only returns default values for fields given in arguments.
Rev. ad1cceb changed a bit the way the result of 'default_get' was
processed, by iterating over the values instead of over the fields
in the view. So, before ad1cceb , 'groups_id' was simply ignored,
and after, the BasicModel tried to process it and it crashed when it
attempted to retrieve its fieldsInfo, as this field isn't in the
view.
This rev. restores the previous behavior.
Fixes #23303
Fixes #23305
2018-02-26 12:45:10 +01:00
..
2018-02-26 10:37:39 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-22 09:55:59 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-18 04:28:35 +01:00
2018-02-18 04:28:35 +01:00
2018-02-18 04:28:35 +01:00
2018-02-20 09:46:32 +01:00
2018-02-23 10:28:10 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 15:44:01 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 11:08:54 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-01 14:13:32 +01:00
2018-02-14 13:43:39 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-23 15:23:07 +01:00
2018-01-30 09:39:08 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-02-14 13:43:39 +01:00
2018-01-25 12:43:02 +01:00
2018-01-17 16:26:31 +01:00
2018-01-12 18:15:23 +01:00
2018-02-12 13:11:09 +01:00
2018-01-18 16:09:56 +01:00
2018-02-01 17:02:19 +01:00
2018-02-14 11:53:12 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-26 08:24:08 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 19:35:11 -08:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-26 12:45:10 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-12 09:16:17 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-26 09:23:44 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-20 09:46:32 +01:00
2018-02-20 09:46:32 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00
2018-02-25 04:54:25 +01:00