a2122ebce292d1cdc49340971a6c078ac94aa414
Steps to reproduce the issue: - Notes app > Kanban view > Create a bunch of notes using the + icon in the kanban view - (optional) Modify the default order of the notes - Add a new note using the quick add feature - Don't modify the order of the notes and refresh the page - The new note will be sent to the bottom of the note list (off-screen if the list is long enough) This happens because new notes have their sequence set to NULL, which places them at the end of the list after ordering by sequence. This commit sets the default sequence of a new note to 0, so that it is placed at the top of the list and adds an additional sort on 'id desc' to consider the case where all notes have the same sequence. opw-2924615 closes odoo/odoo#98427 X-original-commit: ec719b166635df9ed31c9c2b47fedadd2311765c Signed-off-by: stcc-odoo <stcc@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%