We preload the first field of the first row if needed. This should ensure that
the following records are also loaded.
And we do not call load if the field is already loaded to avoid to create a
promise.
issue8199
review265411002
The split should depend on the height of the screen and not the width because
it does not have a scrollbar when it is too long.
issue8292
review263371002
The display must be run before the callback linked to the promise of
save_current. And save_current must return a promise with the same state as
the save promise.
Also save should not reject with the exception to avoid jQuery warning.
issue8338
review265421002
In contrary to One2Many, Many2Many can not be modified when they are readonly.
But Many2Many inherit from One2Many so we must exclude them explicitly from
the test.
issue8323
review275371002
If the views attribute of the field is wrong or empty, the record will not
load the value for this field. The views attribute can be empty if it was
created by copying the field from its parent.
So it is safer to not rely on this attribute which is there only for
optimization and instead always use all the fields defined on the view.
issue8289
review263471002
When launching a new action, the context should not contain the session
context because it is automatically appended to the evaluation.
When creating a new group when the context model changed, it should not
contain the session context neither.
issue8312
review267301002
If the screen container or the domain parser are not yet ready to compute the
search_value, we should ensure to use the initial search_value. Otherwise sao
may trigger to open a new tab without the search_value because the URL will be
set with an empty search.
issue8267
review281471002
in operator on relation field must use list of ids. So the related rec_name
should be used instead because domain_parser always uses string as value.
issue3540
review271321002
fieldnames is already converted to an Array so sending it's keys will send
the Array indexes but the server expects the field names.
issue8280
review249291003
* Add resources method to ModelStorage
* Support badge on icon
* Display unread and total of notes
* Add two extra colors for icon
issue8122
review70561002
update is called on each state so it binds multiple times to keydown and call
multiple times response with end state. This results in trying to delete
multiple times the same wizard session which fails.
issue8179
review60591002
Screen.count_tab_domain should be called after the switch_view as it is done
in tryton. This avoid to trigger a call to fields_view_get for the
domain_parser.
Screen.switch_view is performing one extra loop compared to tryton. This
trigger and extra call fields_view_get.
issue8167
review60581002