Tuesday, October 10, 2023
6 changes · master
Enhancements to existing features
Removes outdated support code from the mail module's test helpers because the newer interface environment now covers that need. This is an internal cleanup that reduces maintenance overhead without changing day-to-day user behavior.
Original PR description
As the comment says: > This function must be removed when the WOWL env will be available in > the form_renderer. This code seems not needed anymore. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Automatic transfer entries are now created only when there are actual lines for the selected period. This prevents empty accounting entries from being generated, reducing cleanup work and keeping records clearer.
Original PR description
before this commit, if there is no lines in the period the move is created with empty lines after this commit, move is created only when the lines exists in the period.
This update removes unused styling rules from the Accounting reports interface to reduce the size of the generated CSS. The change should help pages load a bit more efficiently without changing visible functionality for users.
Original PR description
`@extend` should be used with care : they are a powerful tool, but can lead to nasty overgeneration of SCSS selectors. Also these rules doesn't look to be used anyway 🤷 Example (uncompressed): - fresh database with only account_accountant (and its dependencies) installed: CSS bundle goes from 1923KB to 1702KB (gain 221KB) - runbot all: CSS bundle goes from 2664KB to 2388KB (gain 276KB) task-3546717
An unused field was removed from the Planning analysis report model after it was no longer shown or used in the interface. This keeps the reporting code cleaner without changing what users see or how they work.
Original PR description
Field overlap_slot_count of model planning.analysis.report was previously removed from the view where it was used by https://github.com/odoo/enterprise/pull/42117. The field has now no more use and should be removed from the model.
Duplicated appraisal plans now automatically include "(copy)" at the end of their name. This makes it easier for users to tell original plans apart from copies and manage appraisal planning without confusion.
Original PR description
This commit introduces a feature that automatically appends "(copy)" to the end of the plan name whenever it is duplicated. This change enhances clarity and separates the original plan from its duplicates, simplifying management and tracking. task:3544642
This update adjusts several Odoo Enterprise screens so they no longer rely on outdated context fields. It helps keep these modules compatible with platform changes and reduces the risk of future view-related issues.
Original PR description
This commit is the counterpart of https://github.com/odoo/odoo/pull/136665 where keys active_id, active_ids and active_model have been deprecated from the evaluation context. This commit thus adapts archs to stop using them.