Wednesday, April 28, 2021
7 changes · master
Enhancements to existing features
Odoo can now load selected application components and asset bundles only when they are needed, instead of requiring everything upfront. This can improve perceived performance and supports a cleaner foundation for future web interface changes across several apps.
Original PR description
Previously, odoo modules were unable to be lazy-loaded because they required to be transpiled, and were thus only available through t-call-assets. This commit implements rudimentary lazy-loading for odoo modules through the use of a controller, and makes the get_asset_nodes method on ir_qweb public, so that it can be called in RPC. task-2497943
The website editor is getting a cleaner toolbar and a new command bar to make editing content faster and easier. This should improve the day-to-day editing experience for users working with website pages and rich text content.
This update improves several project, timesheet, and sales-related screens so information is clearer and common actions are easier to complete. It fixes task progress reporting, improves labels and layout, adds helpful entry guidance, and removes some less relevant profitability and document shortcuts.
Original PR description
Purpose of this PR is to do the generic improvement for the refactoring of some module's view. So in this commit, done the following changes: - Reporting > Tasks Analysis , average progress of each task display correctly - In project overview: - state button is fit correctly in report view - In task quick create, added placeholder for name field - In Product form view: - service_tarcking field: rename 'don't create task' into 'don't create a task' - display the share button if privacy_visibility should be portal - remove the 'Documents' stat button - In Tasks list view, allow users to edit the stage of the task in batch if the project is in the context - In project kanban view, remove the 'profitability' link and the corresponding stat button on sale.order task-2458123 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Eco voucher payroll functionality for Belgium has been consolidated into the main Belgian payroll module. This simplifies installation and maintenance while keeping the related payroll workflow available in one place.
Website editors can now insert appointment links directly from the editor command bar. This makes it easier to promote booking pages while editing website content, reducing extra navigation and manual link setup.
The planning calendar now shows up to two shifts per day instead of only one. This helps employees who work multiple shifts, such as morning and afternoon, see their schedule more clearly while still grouping any extra shifts behind a “more” link.
Original PR description
Currently in the planning, When the user always plans a shift in the morning, and one in the afternoon, the employee won't be able to see any of his shifts in the calendar view in the frontend because the the number of shifts displayed is limited to one. So in this commit, changed the event limit to 2 for day grid of calendar front end view. So the employee can see at least 2 shift for a day and if an employee having more than two shifts on the same day then it will show 2 shift and a other shift show in the "number +more" link to see all the shifts. Task-id: 2463013
Resolved issues and error corrections
Belgian payroll now calculates the part-time percentage correctly by comparing the employee's part-time schedule with the reference schedule. Users must also enter the required part-time work entry time when marking a contract as part-time, helping prevent payroll mistakes.
Original PR description
When part time is checked, make sure to compute the part time % field correctly using the part time calendar and the reference calendar. Also force the user to set a part time work entry time when part time is checked. Task ID: 2499942