diff options
| author | Romain Derie <rde@odoo.com> | 2019-03-18 13:42:42 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-03-18 13:54:23 +0000 |
| commit | a09236848ca0b57f2b00b96ea616dcc48e56b716 (patch) | |
| tree | 3d9f8c7beeff0708865f57dd8e2329ac44f250a4 /addons/note/data/note_data.xml | |
| parent | d0cd971afb518f449ab6c60cef33e6fe0b7ea1f9 (diff) | |
[FIX] link_tracker: prevent undeterministic order on new/recent filter
Before this commit, ordering by `create_date DESC` and `write_date DESC` could
lead to undeterministic order if multiple records had the exact same date.
This is the case during tests as `crate_date` is set to transaction start time.
(That's what NOW() in PSQL does)
Now, we enforce that order to avoid randomness.
Related to #31829
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions
