Friday, December 15, 2023
3 changes · 17.0
Enhancements to existing features
This update improves the internal handling of mail and live chat data so messaging screens and automated tests load faster. Users should see quicker initialization and smoother thread sorting, especially on larger datasets.
Original PR description
On my machine, this reduces the time of the qunit suite from around 115s-120s to 100s-105s. This reduces the time of init messaging with populate medium from around 3s to 1s. Avoid having to split local id to find record. This is a slow process that is better avoided. Make _fields a Map rather than an object. Name anonymous methods to get better trace and profiling. Move field update to separate methods. Start making the update method return whether the value has changed, to go into the direction of removing reactive from internal code (especially for on change). Use markRaw or toRaw on technical values that don't need to be observed. Start better naming variables, especially having a specific name when the value is possibly a proxy, and keeping the simple name for when it's definitely not. https://github.com/odoo/enterprise/pull/52703
Adds clearer repository description and a new pull request template to make contributions easier to understand and standardize. Also includes a contributor license agreement signature update, supporting compliance for future work.
Original PR description
## [README & PR TEMPLATE](https://trello.com/b/byaP2Cqt/odoo-reservist-management) _Media not available / not needed._ ## Description: Created a pull request template, as the old one didn't fit into…
## [README & PR TEMPLATE](https://trello.com/b/byaP2Cqt/odoo-reservist-management) _Media not available / not needed._ ## Description: Created a pull request template, as the old one didn't fit into our needs. Created a _docs_ folder and in it, created the file named _pull_request_template.md_. Also, added a description section for the README.md, as it didn't exactly specify what's the need for this repository. ## Changes: - Created _docs_ folder containing the PR template file. - Added a new section to the _README.md_, which describes the use of the repository. ## How to test: - This is feature is not testable. ## Sources cited: - [Chapter 2: Development environment setup](https://www.odoo.com/documentation/16.0/developer/tutorials/getting_started/02_setup.html) - [Make your first contribution](https://www.odoo.com/documentation/16.0/contributing/development.html#contributing-development-first-contribution) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payment terms can now calculate due dates by adding a number of days, moving to the end of that month, and then adding an optional day offset into the next month. This gives businesses more accurate control over common invoice due-date rules, including safer handling around months ending on the 29th, 30th, or 31st.
Original PR description
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 task: 3609320 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr