Tuesday, September 13, 2022
10 changes · master
Enhancements to existing features
The Knowledge app’s email tag selection component has been updated to a newer interface framework. This should make the feature easier to maintain and help keep the user experience consistent with the rest of Odoo.
The appointment invite form has been updated to use Odoo’s newer interface framework. This helps keep the scheduling experience consistent, easier to maintain, and ready for future improvements without changing the core business workflow.
Original PR description
Migration of the invite form view in owl. task-2973369
Resolved issues and error corrections
This update corrects how an internal recruitment signing test is scheduled so it is not skipped during automated checks. It helps ensure issues in recruitment document signing are caught before changes reach users.
Original PR description
A test should be either at_install or post_install, if both the test won't be executed during the split since at-install are blacklisted when running post-install and vice versa.
Miscellaneous changes
…ng key Currently, the non-deductible part of a tax is not linked to a vehicle, and is thus not grouped correctly in the disallowed expenses report. This PR adds vehicle_id as a tax grouping key and solves this issue. At the same time, 'vehicle_id' is added as an onchange on invoice lines, to make sure it also triggers the recomputation of taxes. opw-2941494 Forward-Port-Of: odoo/enterprise#30717
Original PR description
…ng key Currently, the non-deductible part of a tax is not linked to a vehicle, and is thus not grouped correctly in the disallowed expenses report. This PR adds vehicle_id as a tax grouping key and solves this issue. At the same time, 'vehicle_id' is added as an onchange on invoice lines, to make sure it also triggers the recomputation of taxes. opw-2941494 Forward-Port-Of: odoo/enterprise#30717
The mobile list view now shows the selection banner and action menu across the full available width, without displaying an unnecessary second control area. This makes selecting and acting on list items clearer and easier on small screens, with related tests updated to match the expected behavior.
Original PR description
On mobile, in list view's selection mode, both the left & right bottom parts of the ControlPanel are displayed but only the left one (containing the selection banner and actions menu) should be displayed (and take the full width). This commit adapts tests accordingly to the community changes.
Empty report rows now keep the correct column layout, so debug information icons appear in the intended place. This prevents confusing display issues when reports contain grouped lines with no amounts.
Original PR description
Bug: In a report, in debug mode, when the lines of a given level have no amount at all, these lines don't receive any column at all and their colspan is still 1. Because of that, the (i) icon that should be in the debug column is displayed in the first column instead. This is due to the column cleaning that is done for ellipsis management. When we don't have any value in any column, the columns should be trimmed, and the colspan be equal to the number of columns.
Salary simulation links now default to an employee's work email address instead of their private email. This helps ensure the message can be sent successfully and keeps work-related communication on company channels.
Original PR description
Change the default recipient of the simulation link to be the employee's work email address, instead of the private email address. Currently the private email of employees is used for this but this doesn't work because mail.compose.message does not allow allow private partners to be configured as recipients. Secondly, it also just makes sense to send work-related email to the work email address. task-2790044
Before this commit, automatic sign fields with several level would not work anymore. E.G. 'company_id.country_id.name' t was not compatible with https://github.com/odoo/enterprise/commit/c5cca88d1b46ac7e03e6354c3e98698a6f7e183b As this feature is more important than the multi level automatic field, we decide to revert https://github.com/odoo/enterprise/commit/c5cca88d1b46ac7e03e6354c3e98698a6f7e183b, keep the tests and we will see in master if the special case of float and currency is ne
Original PR description
Before this commit, automatic sign fields with several level would not work anymore. E.G. 'company_id.country_id.name' t was not compatible with https://github.com/odoo/enterprise/commit/c5cca88d1b46ac7e03e6354c3e98698a6f7e183b As this feature is more important than the multi level automatic field, we decide to revert https://github.com/odoo/enterprise/commit/c5cca88d1b46ac7e03e6354c3e98698a6f7e183b, keep the tests and we will see in master if the special case of float and currency is needed. opw-2960711 Forward-Port-Of: odoo/enterprise#31229 Forward-Port-Of: odoo/enterprise#31098
Steps to reproduce: - Go to Marketing Automation - Create a new Campaign - Add a new activity - Save the record - Launch a test - Click on the run button with the play icon - Go back to the campaign - Launch another test - Click on the run button with the play icon - Go back again - Click on the sent or clicked action on the activity -> Expected singleton: mailing.trace(2, 1) opw-2939213 Forward-Port-Of: odoo/enterprise#30303
Original PR description
Steps to reproduce: - Go to Marketing Automation - Create a new Campaign - Add a new activity - Save the record - Launch a test - Click on the run button with the play icon - Go back to the campaign - Launch another test - Click on the run button with the play icon - Go back again - Click on the sent or clicked action on the activity -> Expected singleton: mailing.trace(2, 1) opw-2939213 Forward-Port-Of: odoo/enterprise#30303
From 6.5 seconds to 1.2 seconds to load get_payroll_dashboard_data method on odoo.com Forward-Port-Of: odoo/enterprise#31195
Original PR description
From 6.5 seconds to 1.2 seconds to load get_payroll_dashboard_data method on odoo.com Forward-Port-Of: odoo/enterprise#31195