Tuesday, October 24, 2023
12 changes
Enhancements to existing features
This update standardizes how formatted text is handled inside translated messages across several Enterprise apps. It helps keep translated content displayed correctly and safely while reducing inconsistencies for users in different languages.
Original PR description
The _() method now supports having a Markup as parameter and automatically escape the translation Enterprise part of odoo/odoo#139316
Sendcloud shipping carriers are now configured around Sendcloud products, which group available delivery methods, instead of being tied to one method. This gives businesses more flexible shipping options while still selecting the right method when parcels are shipped or customers choose pickup delivery online.
Original PR description
A Sendcloud delivery carrier now relies on a Sendcloud's product (that is a set of Sendcloud's methods) rather than on a single Sendcloud's method. As the parcel's shipping however still rely on a defined method, some models were enhanced/redefined as some functions and checks were added to handle the method selection. Task #3109757 Upgrade : https://github.com/odoo/upgrade/pull/5034
Companies can now enable a setting to copy lot names from a cross-company delivery to the matching receipt in the other company. This helps keep product traceability aligned between related companies and reduces manual re-entry during intercompany transfers.
Original PR description
Adds a setting that allows a company to try to sync its lot names when validating a cross-company delivery on its corresponding receipt in another company. task-3339667
Adds a place to store detailed information about the latest bank connection status. This prepares a follow-up improvement that will show users clearer error messages and help support teams receive the right context when assistance is needed.
Original PR description
The aim of this commit is adding a simple JSON field on account online link model to handle a future flow where we save the last connection state details (if the connection is in error for example) to know what we have to do for the user. We need to implement this flow because the commit (ed7d7486f30e076e6040a2d528a2c4926225bfa9) that adds the new asynchronous flow (by using cron) doesn't handle all the error messages. It means that the user won't see that he/she receives an error and it won't trigger the redirect warning error that allows the user to open a support ticket directly (with useful info for support team). The feature is divided in 2 commits, one to add the freeze dependent things (the new field) and another one to add all the logic. task-3568712
The spreadsheet editing experience has been adjusted to make better use of available screen space. Users should have more room to work with spreadsheets and dashboards, making editing more comfortable and efficient.
Original PR description
This revision adapts the spreadsheet edition actions to optimize the screen space. Task: 3329419
Resource appointments no longer automatically use a default work schedule, reducing confusion about why certain time slots appear unavailable. The appointment setup screens also provide clearer guidance for default opening hours and hide irrelevant work-hours settings for resource-based appointments.
Original PR description
People often misunderstand why certain time slots are unavailable. The reason behind this is we currently always apply the default work schedule. **Secifications**: -> Stop giving resources a default work schedule. -> Add the placeholder and helper for the "Default Opening Hours". -> Hide the "work_hours_activated" field when the appointment is of type resource. **Task**-3535680
Spreadsheet users can now apply global date filters using a clear “From / To” option. This makes it easier to analyze reports and dashboards for a custom date range without needing technical domain setup.
Original PR description
Adds in date type global filters a new category "From / To" allowing to define a domain between two dates. Task: [3516362](https://www.odoo.com/web#id=3516362&menu_id=4720&cids=1&action=333&active_id=2328&model=project.task&view_type=form)
Shipping labels and related documents now use clearer, consistent names, making them easier to identify and manage. Printer settings are being moved to report-level configuration, and manufacturing/barcode workflows gain better auto-print support for serial and lot labels.
Timesheet grids now use more consistent colors to show missing time, exact time, and overtime. This makes it easier for users and managers to quickly spot underreported hours, overtime days, and overall period totals.
Original PR description
before this commit, color codes used for represent overtime, exact time and missing hour are not consistent with everywhere else. make changes in color code to get better understanding of worked time. highlight negative overtime in red, highlight day total in orange if there is overtime, highlight the total time for the period in red, green and orange according to overtime. task-3251683
Work schedule entries can now store their day-based duration explicitly, rather than relying on hours-to-days conversion. This helps payroll and attendance calculations better reflect local practices where morning and afternoon periods may have different hour lengths but still count equally as half days.
Original PR description
Before this commit, conversion between worked hours and days in resource_calendar_attendance was calculated but in reality there is no unambigous way to do this. Eg in Belgium the morning working period is 4 hours, the one in the afternoon is 3 hours 36 minutes, while both of them are still counted as half days. To mediate this, the duration in days is explicitely added to resource.calendar.attendance, with sensible default being provided (half a day for morning and afternoon periods, 0 for lunch). task-3131517
The signing app has been updated to work with the latest SMS service interface. This keeps SMS-based signing communications compatible and updates related automated marketing and mail tests to match the new behavior.
Original PR description
\* = marketing_automation_enterprise, test_mail_enterprise See COM PR (odoo/odoo#133392) Task-2560666
The Luxembourg annual VAT declaration now uses Odoo's standard reporting engine instead of a separate custom report. This reduces maintenance complexity while keeping the annual declaration fields available in the main Luxembourg reporting module.
Original PR description
Currently, the LU annual VAT declaration is a large custom model, because it was not possible to add manual values in the regular reports, default values, and sections. Now it is finally possible to get rid of that custom report and use the account report engine to create the Annual VAT declaration. `l10n_lu.yearly.tax.report.manual` model and its views can be deleted. The l10n_lu_reports_annual_vat_2023 module can be deleted as well, as the new fields have been added in the new report. task-3074547
Original PR description
Enterprise changes for auto-printing/report cleanups: - change existing shipping connectors to use consistent doc filename prefixes - cleanup the inheritance logic (i.e. for "Barcode App" tab) so…
Enterprise changes for auto-printing/report cleanups: - change existing shipping connectors to use consistent doc filename prefixes - cleanup the inheritance logic (i.e. for "Barcode App" tab) so that the "Hardware" tab can be cleanly added into operational types - Add support for Enterprise Shop Floor + MRP barcode auto-printing of generated SN/Lot - create shell report actions for the shipping connector provided documents so their printer can be specified via the report rather than the custom field that previously existed Note that separate IoT PR (see: https://github.com/odoo/enterprise/pull/44398) will allow users to select a specific printer when more than 1 printer is assigned to a report when it is merged. This PR removes the ability to assign printers for each operation type's "Shipping Labels Printer" field, therefore in order to save this printer assignment data during the upgrade script, this PR also adds in the ability to assign multiple printers to a report even though we will always default to the first printer. Of course a follow up PR will be needed to ensure the upcoming multi-printer assignment works with the multi-print feature this PR is adding in. Task: 3046178 COM PR: odoo/odoo#126791 Upgrade PR: odoo/upgrade#5298