Friday, November 4, 2022
8 changes · master
Enhancements to existing features
The Project app’s task and project views have been rebuilt on Odoo’s newer interface framework. This should make these screens easier to maintain and prepare them for future improvements, with minimal immediate change for everyday users.
Odoo can now group records in reports and list views using related fields without requiring duplicate stored database columns. This can reduce database size and maintenance work while keeping reporting capabilities available.
Original PR description
In most cases, the only reason to mark a related field as stored is a need to group records by such field. With this commit we can make grouping without making column copy. It allows to save database size as well as resources needed to create and keep such duplicate up-to-date. In fact, read_group supported non-stored related fields for ages, but it was limited to automatic related fields (inherits/delegate=True). So we only need to weaken constrain for groupby argument and add some extra joinings in _inherits_join_calc to give new feature to the world. --- task-2155109 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Event managers can now filter registrations based on the answers attendees selected during signup. This makes it easier to find specific attendee groups and review registration details without manually checking each record.
Original PR description
This PR adds the filter for users to see Selected answers given at the time of registration. taskID-2995250
Fleet users can now access all documents related to a vehicle directly from its vehicle record. A new setting lets companies link fleet attachments with the Documents app, making vehicle paperwork easier to organize and find in one place.
Original PR description
The purpose of the task is to integrate fleet and documents so we will get all the documents of the vehicle in one place. So in this commit, Added a stat button to have documents on the vehicle - if documents is installed and the user has the document right then, it leads to the document app - if the document is not installed it leads to a kanban with documents - added a setting in the document to link the attachment of a fleet to a the document app task-2144780
Social media post previews now load images more efficiently by using cached attachment links instead of embedding image data directly. This should make preview screens faster and smoother across Facebook, Instagram, LinkedIn, and Twitter, with an additional layout improvement for Twitter previews.
Original PR description
It improves the performance of the post preview. Technical note: the preview rendering of the post image has been changed from inline to a simple URL to the attachment (by default stored in the file system in a resized and compressed form). This removes the encoding process and allows the browser to cache the file. Note that the icon for push notification still use the inline image encoding because icon are small and it would have been hard to modify as the icon is stored in a binary field (in that case, the attachment is written after the post creation and is not available during the creation). Task-2674439
Project side panels, sharing screens, and field service kanban behavior were modernized to improve maintainability and keep the user experience consistent. An unused field service date widget was removed, reducing obsolete code without affecting active workflows.
Resolved issues and error corrections
Project Managers can now view all relevant tasks in burndown chart reports, even when a project is set to follower-only visibility and they are not following it. This fixes incomplete reporting so managers get an accurate view of project progress.
Original PR description
Before this commit, when the Project Manager wants to see the burndown chart report, he cannot see all the tasks if the project visibility is follower and he do not follow the project. Indeed, he can only see the ones in which he is assigned or follower. This behaviour is not expected for a project manager but only expected for a project user. This commit adds a rule to avoid filtering the records from burndown chart report when the current user is a Project Manager. Related PR: #82634 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Subscription reports now show recurring amounts based only on recurring charges instead of total line amounts. This makes recurring revenue and MRR figures more accurate for business reporting and decision-making.
Original PR description
This PR goal is for the recurring amount shown in report to actually be the amount recurring and not the total amount. On top of that the MRR is now correclty computed based on the recurring subtotal of each line and not their subtotal. task-id : 3013054