63d7e39a09b7e2167f2ec673cffb9135ebc44346
When modifying the accounting date of an invoice in Accounting Firms mode, Odoo always generates a new invoice sequence number. This behavior can introduce gaps in the sequences. 1. Activate Accounting Firms mode. 2. Create a new Draft Invoice and save it. 3. Create a second Draft Invoice and save it. 4. Modify the accounting date of the first invoice and save it. 5. Observe that the first invoice's invoice sequence number is updated to the next sequence, creating a gap. Recompute the sequence only when the new date falls into a different fiscal year. opw-3164537 closes odoo/odoo#121215 X-original-commit: 28c5c37c420eda8f916dc0f031521313ac18ec08 Signed-off-by: Nshimiyimana Serge Séna (sesn) <sesn@odoo.com> Signed-off-by: William André (wan) <wan@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%