A copy of the value is always returned so if it is modified it does not modify
the internal value of the record.
So to update Dict value, a new dictionary must be set on the field.
Closes#13374
(grafted from 82b0280d4a08c48b2ab85b4ababe2031aee9a7a2)
--HG--
branch : 7.0
The click event can still be triggered by the shortcut or event by clicking on
the disabled menuitem. So the callback must not run the action if the menuitem
is disabled.
Closes#13326
(grafted from d3e19261139580282719da45623a077d849523a0)
--HG--
branch : 7.0
This happens when the current record is removed when it is deleted.
Closes#13325
(grafted from 5e74c9cef4b5b04930e1c5da61c576070da1a1ca)
--HG--
branch : 7.0
Otherwise the attribute value may be undefined instead of being a boolean.
Closes#13324
(grafted from c0feae75063f1daac6b3c8017f165aaca3858922)
--HG--
branch : 7.0
Since 12e08efd3872 the readonly of the Screen depends on the selected records.
But we still wants to save the modification from the Window Form even if a
deleted record is selected.
Closes#13321
(grafted from ff288e977366b41700c6da6f7131b0e9520e363b)
--HG--
branch : 7.0
Otherwise if the widget is not translated, the textarea does not expand.
Closes#13320
(grafted from 2ebdb3a1dc2dd516cf99186c29278d41081aa689)
--HG--
branch : 7.0
If the widget is translatable, the translate button is an input-group-btn
which must be under the same input-group as the principal input.
Closes#13238
(grafted from 20af97ade53035f1c725cb2600e9abbb2664f664)
--HG--
branch : 7.0
The buttons of the toolbar must be updated after having saved the current
record.
Closes#13125
(grafted from 03b3f3d5a60c9dbb6268a20fdd8f0c56157272b4)
--HG--
branch : 7.0
We can not rely on the row node to always have a parent node as toggle_row is
a callback to an event that can be executed after the row has already be
removed from the DOM.
Closes#13198
(grafted from 7e3ab58418656857275f3888386d840ca336858f)
--HG--
branch : 7.0
When a readonly Form is closed, the callback result should always be False as
the opened record has not changed.
Closes#13156
(grafted from 9ad99fba8a531f2456d1808f32fe3b9fbc598f2e)
--HG--
branch : 7.0
On Chrome based browsers the min-content of the table inside a xxx2Many widget
is the minimal size to display all the columns.
So when this min-content size is bigger than the width of the tab, it is the
all form that get a scrollbar instead of only the tree view element.
By adding a display grid to the div containing the treeview, the min-content
is not more used by the grid-template-columns of the form-container.
Closes#13050
(grafted from 333543178a58dc1b816063dd1ad11f6d6c1f4c10)
--HG--
branch : 7.0