On small set of record when records are deleted the number of record could
become lower than the initial search_count. As maintaining a correct
search_count is complex, it is simpler to never display it if it is lower than
the search limit.
issue10789
review383501003
(grafted from 6b2e33b1025568f56aa23972fc02115da18496fc)
--HG--
branch : 6.0
The record_message function needs that all the buttons are created when it is
triggered. So we can not delay the creation with an asynchronous call.
issue10783
review360151002
(grafted from a6315854511588fef77cc83c5e37d13b31c55727)
--HG--
branch : 6.0
In order to update the disabled property, we must store the button tag in
Sao.Tab.buttons.
The property must be computed by taking into account if the dropdown has
children.
And the resource buttons must check against undefined record_id.
issue10410
review355431002
(grafted from a7d07e635e86983fee5ef8decb4e5294ba72f78a)
--HG--
branch : 6.0
The return of modified_save method is used to decide to execute an action or
not. When a new record is cancelled, the client select the previous record so
we must not run the action on this one.
issue9881
review337111002
Browsers do not support the charset in Blob, so it is already always encoded in
UTF-8. But to help users on Windows, we add the UTF-8 BOM because Windows
programs use it as magic number to detect encoding.
issue9527
review290761002
The bootstrap rules are imported from sao less file to override some variables.
We embed a stripped version of the bootswatch paper theme.
We also try to import an option custom.less file.
issue9427
review294011002
As mode is not always filled, we must compare only if view_ids is empty and we
must use the default value as fall-back.
The limit is a local parameter that should not be forced when opening an URL.
The screen context may be modified thanks to the context model, we must compare
the current context of the screen instead of the initial one.
issue8977
review272751003
The issue8312 was to strict by its usage of Group._context as it misses the
context_model, the parent context or the _datetime keys.
Instead we introduce a second type of context which provides the same context
but without the session part.
issue8463
review255831002
The DOM and the tabs list are not ensured to have the same order because the
DOM is modified after the view promise is resolved.
To rely only on a single information source, we store the tab as data on the
nav li.
issue8443
review249521004
Tab.close can be called multiple times (ex: closing wizard running in a tab)
so the indexOf can return -1 if the tab has already been removed.
issue8431
review263691002
The callback can be triggered when the tab is no more current.
E.g. at the end of a wizard when the screen is reloaded and displayed, the
current record is reset which trigger the callback but the wizard may have
open a new tab meanwhile.
issue8432
review259671002
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