#4028 added the behavior to apply the selected record also on form view the
first time.
But when switching to a calendar view from a form view, the tree states is
stored with the current record. If the calendar view is cleared (always with
sao via the search_filter), then the tree_states_done is cleared and on the
second switch to the form view the current record is override by record stored
in the tree states (from the first form switch).
Closes#13939
(grafted from 5719977cd18ed02fc485a0bc8be4abc6b4aec6b3)
--HG--
branch : 7.0
The write RPC must be done asynchronously in order to manage any concurrency
exception.
But the asynchronous RPC can only be done sequentially, so we ensure there can
be only one single pending promise.
Closes#13940
(grafted from 8b075636539246e8372b8f2500bd093a5862fe24)
--HG--
branch : 7.0
49cbc9b99ed8 added the calculation of a new variable but before the test that a
current record is actually being saved.
Closes#13946
(grafted from 383b2df462a149197e6e795d595aa3ae1d07f611)
--HG--
branch : 7.0
This avoid to trigger multiple save in parallel which may raise a concurrency
exception.
Closes#13848
(grafted from b1c0eb983cebde5a671d4cff8f5bbef285936d2f)
--HG--
branch : 7.0
When record saved is new, the URL must be updated just like if the view was
switched.
Closes#13849
(grafted from 49cbc9b99ed8883aac4bd1f252d6100a20cc9864)
--HG--
branch : 7.0
Otherwise it is only the tree states of the last view that is restored.
Closes#13822
(grafted from 681adf2400138689f3a9a1e2d2b672057e539482)
--HG--
branch : 7.0
Since 87806105f07d the corresponding methods have been renamed in BinaryMixin.
Closes#13844
(grafted from 6bb90cfd5794153f8194254fd866fffe0a57489a)
--HG--
branch : 7.0
This way the button stays disabled until the drop down menu is filled.
Closes#13755
(grafted from d7e6a9ed2b9979edbae45789d1daf0c2a2351bac)
--HG--
branch : 7.0
The change callback set the visibility of the "Ignore search limit".
Closes#13754
(grafted from d174aec6127a60c0d87b09f2b40471737d9d9eb4)
--HG--
branch : 7.0
Many methods of ScreenContainer relies on the screen being set.
And there is no reason to not set the screen at instantiation as long as show
filter refresh the bookmarks.
Closes#13757
(grafted from 16f208d5248b270306edee488d913c65924dd727)
--HG--
branch : 7.0
The context of the field is dynamic so evaluating it only once when creating
the group make it static.
Also the group is already evaluating the parent field context on the fly when
its context is retrieved.
Closes#13726
(grafted from b21813a75b5beeb625b1e9533cbc498b7872555f)
--HG--
branch : 7.0
The button is indeed a div which must have the .disabled CSS class and an input
which should be hidden when readonly.
Closes#13713
(grafted from 834f7f6079c61d5312c97b5fe61eb75b46a676c5)
--HG--
branch : 7.0
This allows to preserve the order of the state widgets in the form which is
important when evaluating the emptiness of a group
Closes#13622
(grafted from b01fd46f44f2923cbd5a91323c592fa8cfb18a57)
--HG--
branch : 7.0
Screen.new_ is returning already a promise that is resolved after the call to
default_get. This ensure that display is triggered after having set the default
value.
Closes#13697
(grafted from 7484bb16c12f887d44c9f18bfc5504974cde50e0)
--HG--
branch : 7.0
This avoid to trigger a reset of the field if the record name has such character.
Closes#13687
(grafted from cac71113f210bce90c55f6a6c6f32703654cdc59)
--HG--
branch : 7.0
When screen with tab domain is displayed in a board, the tab domain increase
the min-content which could overflow the tab content.
Closes#13665
(grafted from 52af7e0a381ddd601e0b6f2e136065c579b4a747)
--HG--
branch : 7.0
If the view is already cached, the callback is executed directly so the content
must have been created.
Closes#13664
(grafted from adb8f7b0c738061d48d44499066545f5468a2d3d)
--HG--
branch : 7.0
If the PYSON statement has the type 'object', it can be a Date, DateTime or
TimeDelta which is allowed for comparison.
Closes#13645
(grafted from df6e3c10a5105e545e1aa8e58c3c087285146a58)
--HG--
branch : 7.0