Monday, May 15, 2023
6 changes · master
New functionality added to Odoo
Adds new spreadsheet dashboards for subscription sales, including views focused on overall subscriptions and salesperson performance. This helps business teams monitor recurring revenue activity and sales effectiveness more easily from ready-made dashboards.
This adds Thailand-specific reporting tools for sales and purchase audit journals, plus CSV tax reports for PND3 and PND53 filings. Businesses operating in Thailand can more easily produce required local tax and audit documentation from Odoo.
Original PR description
Description of the issue/feature this PR addresses: Thailand localization report requirements: - 2 excel report files for sale/purchase audit journal - 2 csv report files for tax report related to PND3 and PND53 2879718, 2895669 -- I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](http://www.odoo.com/submit-pr)
Enhancements to existing features
The planning workflow now labels the previous “Plan orders” action as “Auto Plan” and uses it to automatically assign available resources to open shifts and related sales orders. Assignments consider role fit, time off, availability, conflicts, and workload, helping teams fill schedules faster while avoiding overbooking.
Original PR description
- Change "Plan orders" button's label to "Auto Plan". - This button should assign resources to open shifts: \- same default role > same role \- not on time off \- if not flexible, in their calendar availabilities \- not in conflict with their shifts \- no subsequent overload. - Change the toast notification: \- Success : "Open shifts and sales orders have successfully been assigned." \- Failure : "All open shifts and sales orders have already been assigned, or there are no resources available to take them." task-2959882
Resolved issues and error corrections
Fixed an issue where adding an external embedded view to a Knowledge article could crash the app. The editor now places the embed correctly at the end of the article, improving reliability for users working with embedded content.
Original PR description
This commit fixes a bug where inserting an external view inside a Knowledge article could lead to a crash of the application. This bug is caused by the rendering of data templates that includes `\n` chars in their rendering, meaning that the HTML body of the rendered data articles contained undesired characters that should not be present inside an HTML field. These undesired characters were then taken into account when using the function `setCursorEnd` with normalize set to true. The editor tried to insert the view/link inside the textNode containing `\n`, which leads to an unwanted behavior inside the editor that tries to add the view/link to the text node. Now before inserting the view we set the cursor to the end of the article so that the container selected by the editor is indeed the full body of the article. task-3288551
Code cleanup and technical improvements
The Peruvian electronic delivery guide module now includes support for SUNAT's newer delivery guide API, replacing the deprecated older setup. This keeps delivery guide sending usable for Peruvian companies and improves the related configuration, messages, and translations.
Original PR description
In 16.0, the module `l10n_pe_edi_stock_20` was written to support sending delivery guides via the new SUNAT API. The old API is now deprecated, so `l10n_pe_edi_stock` on its own is useless. We are therefore merging the two modules. Task: 3146160 Upgrade PR: https://github.com/odoo/upgrade/pull/4291
The spreadsheet features were updated to a newer library version, bringing refinements and reliability improvements. This helps users working with spreadsheet documents and pivot views benefit from the latest improvements without changing their workflow.
Original PR description
…-alpha.8