When sorting tree model, it is possible that some ids are not in the ordered
list (because they do not fit anymore in the domain). So we return the number
of records so they are moved at the end of the list.
issue8042
review53531002
The test was added by changeset 5b5d0c1660e9 to prevent case when the parent
was destoyed before the NoModal. This happened when creating a record from the
search window. But this is no more the case with changeset b87844203f77 as the
search window is destroyed before the creation of the form window.
As the window_list_toplevels has shown multiple times to generate segmentation
fault, it is safer to stop calling it and remove the test which is normally no
more needed.
issue8049
review52621002
Any tree view may be used even if it is not shown e.g. to save tree state. So
the model of TreeView which keeps a reference to the group must be updated if
the group has changed.
issue7885
review60491002
In Python3, the 'remove-widget' is not trigger when the selected row is
changed. This makes the attribute editabletree_entry not reliable. Instead we
should use the editing property of the renderer and manage the editable
reference on the widget (which is a cleaner separation concept). This allows
also to remove duplicate code in set_value by calling on_editing_done.
issue7936
review46711002
On activate of Entry and on toggle CheckButton, the parent must be activate.
The toggled handler must also be blocked when activate the CheckButton by code
to avoid unnecessary callbacks.
issue7987
review49701002
Prevent IndexError when path has been removed.
Clear the db_cache when adding new entry.
Do not remove existing profile when edited with same name than another.
issue7946
review51601002
When an order is set on a One2Many widget and the user reload the form, the
selected order is lost and so the client should no more display those arrow.
For that we update the arrows on each display using the screen order. And we
unset the screen order when the group change as we do not know the order of
this group.
issue7817
review70481002
The value of the field of the first record, which is edited in the list, will
be lost. Because the editable widget is started before the search pop-up and
it override the new default value with its content when the pop-up is closed.
So we can not reuse record create before the pop-up.
issue7941
review49681002
Domain inversion on Reference field does not work when using the dotted
notation with a M2O field using child_of or parent_of.
To solve this we correctly compute the localization of child_of leaves when
using the dotted notation (which renders the inverse_leaf function useless).
But we must also ensure that the selection used by reference fields restrict
the choice to the right models.
issue7869
review60441002
switch_view should stop when it does not find the view type.
WinForm should not open if the requested view type can not be set.
issue7824
review45791002
The send_headers is the hook dedicated to subclassing. So we replace the
Content-Type set by send_request.
We can also remove the custom code for encode_threshold as it is now included
in standard module.
issue7753
review58391002