Thursday, February 23, 2023
4 changes · master
Enhancements to existing features
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
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.