The links between admin user and groups are managed by XML record.
But the sync task may delete such link if a role is assigned to admin because
the task is run as root which skip the XML check.
Closes#15086
(grafted from 0512f49869883b95b74387a292753e9e43375f35)
--HG--
branch : 8.0
Since 0b692f8ac308 the screen must be displayed again in order to remove the
disabled property.
Closes#15061
(grafted from 7df15278c9793c95b2d14038c1f779a4447838d4)
--HG--
branch : 8.0
If a column is used for different foreign keys with different delete rules, the
foreign key may be recreated if the last rule stored is different.
Closes#15053
(grafted from 636865d7fc72d5e59d9a7bb447de8b87743cc5ad)
--HG--
branch : 8.0
The party of the invoice must have the invoice's company in the context to
correctly set the account when calling on_change_party.
Closes#15049
(grafted from 9b78bdacf182dfa9e5ab3c5206fb8fb5adfb2868)
--HG--
branch : 8.0
For new instances, we must set also the attribute with value `None` as they may
be tested later.
Closes#15060
(grafted from bfe3756af384f4fce94244761d5f5dd3f62d0ff6)
--HG--
branch : 8.0
When a widget display is asynchronous, we must ensure that it is still the same
record that is being displayed when the callback is finally executed. Otherwise
it may render the data of a different record in the HTML.
Closes#15041
(grafted from dbd215ffb07150c2f476922bd7c66dc896ed2665)
--HG--
branch : 8.0
Billboard must receive the graph element directly because the chart can be
rendered while it is still detached from the document.
Closes#14970
(grafted from 00123388953eb5d0e7cee0ff3b8d005a826db9e9)
--HG--
branch : 8.0
Since 327f65ad55e6 the StrtNm tag is no more the first line of the street so
this lines must be included in AdrLine.
Closes#15036
(grafted from 3f9bfd6ce8b9dcb718a20272eb37f1cb83f727e8)
--HG--
branch : 8.0
And do not store the current selection nor help but only pass them to the
callback.
Closes#15029
(grafted from 917de1b3e12443c919b90ba7cac9497bca047ef9)
--HG--
branch : 8.0
The existing cached count may be just an estimation so it is possible that more
records are deleted.
Closes#15038
(grafted from aa4a8bd85207b307b4aa075b105550e4ddae100f)
--HG--
branch : 8.0
The console does not commit the transaction automatically, so the updated
addresses are not persisted without an explicit commit.
Closes#15037
(grafted from e56328f60aa45be564b55b93cd0c14ba8b23458c)
--HG--
branch : 8.0
The method updates the address in place and returns None. Assigning its
return value to the address raises an AssertionError.
Closes#14996
(grafted from 09ace4ae51505a83d13bd3d034536a022730a2f3)
--HG--
branch : 8.0
Only when the current record has changed that those objects needs to be
refreshed/cleared:
- the info bar
- the resources
- the attachment preview
- the chat
Closes#15012
(grafted from dc3a3e20006329b742e6f989a0fd01d485ec80b1)
--HG--
branch : 8.0
Since f41c9c208d39 the _changed_values is a method instead of a property.
Closes#15013
(grafted from 80f38dd8024d1e471f7c1569ba1b36c87185f7cc)
--HG--
branch : 8.0
The connection to the database may fail and thus stop and rollback may be
called. All the attributes must be set to avoid to raise another AttributeError
exception.
Closes#15022
(grafted from 654923a8085d4804dd217e487c80085c53eb470b)
--HG--
branch : 8.0
Otherwise an instance can be accessed by another thread via the registry when
it is still being initialized. And it may crash on missing attribute.
Closes#15007
(grafted from f1840545f4eb5ae5c870a2557a7c3a0314fedb16)
--HG--
branch : 8.0
By using the formula `(idx * prime) % range + 1`, tables created consecutively
have start id distant by `prime` and the maximum start id is `range`.
This avoid to overflow int4 when composing unique ID for table query.
Closes#15010
(grafted from f730392a270138148ed62366cf7f35a7cc01a8b6)
--HG--
branch : 8.0