Thursday, February 23, 2023
7 changes · master
Enhancements to existing features
This change removes rarely used calculated task fields that were only shown in a small Gantt chart popover. By eliminating these costly calculations, project views can load more efficiently with minimal impact on day-to-day use.
Original PR description
**[IMP] project_enterprise: delete useless fields** In this commit: allocated_hours is only displayed in Gantt view popover. its calculation is costy and needs two additional other fields allocated_type and duration. Having 3 computed fields to display an information in a popver isn't really worth it -> delete the 3 fields task-3103701
The Knowledge article toolbar and permissions panel have been modernized to use Odoo’s newer interface framework. This keeps article editing and website knowledge actions working reliably while making the app easier to maintain and evolve.
Original PR description
Purpose ======= We are transitioning all the Knowledge app to OWL in order to get rid of the `renderingContext` which should not have existed in the first place. In these commits we are converting…
Purpose ======= We are transitioning all the Knowledge app to OWL in order to get rid of the `renderingContext` which should not have existed in the first place. In these commits we are converting the `TopBar` and `PermissionPanel` to OWL Components and an adaptation to the `website_knowledge` module. Specs ===== As we need to transition multiple parts of the app to OWL, we created a brand new Component `TopBar` that contains all the input and buttons present in the original TopBar. This Component uses its environment to pass all the actions to its parent: `KnowledgeArticleFormRenderer`, in which we store all the essential methods needed to communicate with the database. This way, when we call a method inside the TopBar, we are directly interacting with KnowledgeArticleFormRenderer and all the changes that needs to be saved to the database will be done. The `website_knowledge` module needed to be adapted since its inheritance was no longer available. We need to patch the Component in order to keep its original functionality. task-3095342
The CRM view linked from a social media post no longer shows the "Generate Leads" button. This reduces confusion by removing an action that was not appropriate in that context, keeping the user experience more focused.
Original PR description
Remove the "generate leads" button from the crm view coming from a social post stat button. Task-3107232
Helpdesk tickets now provide relevant customer details when a new contact is automatically created, reducing duplicate data entry for users. Related tests were updated to reflect the broader contact suggestion information returned by the messaging system.
When creating a customer from a helpdesk ticket conversation, the customer form is now automatically filled with relevant ticket information. This reduces duplicate data entry for support teams and keeps customer records more consistent.
Original PR description
[IMP] helpdesk: provide ticket values for related res_partner creation Define information taken from the ticket when a partner is automatically created from it. It avoids the user to enter the information twice. [IMP] web_studio: update test Update the test following the change of the return value of the method _message_get_suggested_recipients in mail_thread (returns also default create values for res.partner), see odoo/odoo#105111 for more details. Task-3024050
Payroll accounting setup has been standardized so companies no longer share the same payroll journal by default. This improves multi-company payroll accounting reliability and makes country-specific payroll configurations easier to maintain.
When inserting grouped pivot data into a spreadsheet, the first row grouping field is now used as the row title. This makes spreadsheet output clearer and easier for users to understand without extra manual labeling.
Original PR description
With this revision, the label of the field of the first row groupby is inserted as the row title. There are some adaptations to the tests to take into account this new feature. Task-id 2901960