e5097a183ab65ff3dd04f3f4dd16182acd329018
This commit add a new delay_type that will add to the date the nb_days then go the end of the month and finally add a new field called days_next_month. This field is a Char because we want the field to be of size 2. Also, we added a constraint that this field must be numeric and between 0 and 31. Ex of use with Invoice date the 25/11/2023, if we have a payment term with 90 for the nb_days and 10 for the days_next_month: +90 days = 23/02/2024 End of month = 29/02/2024 +10 days = 10/03/2024 (Also, there is a special case handling when the day of the month is 29, 30 or 31 to avoid exceeding the next month's end. For instance, with a payment term of 30 days end of month and using the 31st of a month, prevent calculation from moving beyond the end of the next month (e.g., early March instead of end February) closes odoo/odoo#143758 Task: 3609320 Signed-off-by: Florian Gilbert (flg) <flg@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%