Daily updates from Odoo
Thursday, December 5, 2024
7 changes
3 changes
Enhancements to existing features
Users can now press Ctrl+S while editing a Knowledge article to save their changes directly. This prevents the browser's default page-save prompt and matches the familiar save shortcut used in common text editors.
Original PR description
When the user presses `Ctrl` + `s`, the browser prompts the user to select a directory to save the current page in. Today, most text editors use the `Ctrl` + `s` shortcut to save the current file. This PR will add a new event listener for `Ctrl` + `s` that will prevent the default browser behavior and save the user changes in db. task-4191390
Attendance officers now see only the actions and fields they are allowed to use. This prevents users from trying to edit or save attendance information that would later be blocked by permissions, making the workflow clearer and reducing errors.
Original PR description
Before this commit, when a user has the right office and not manager in attendance; he was able to see some buttons, modify some values but when he tried to access/save it i had a rightissue. To avoid that, these buttons wille be hidden and these fields will be readonly when the user doesn't have enough right. task-4044869
The terminology for International Commercial Terms has been standardized from “Incoterm” to “Incoterms” across affected Odoo business flows. This reduces confusion in labels, reports, data fields, and integrations while aligning the product with the correct international abbreviation.
Original PR description
According to international standars, the abbreviation of 'International Commercial Terms' is INCOTERMS. However, the use of INCOTERM is prevalent in our codebase. This commits fixes it, rewording all references to the correct one. This commit also updates the name of the fields in the models to avoid future confusion about the correct abbreviation. task: 3983531 COM-PR: https://github.com/odoo/odoo/pull/189030 UPG-PR: https://github.com/odoo/upgrade/pull/6847
3 changes
Enhancements to existing features
The web tour recorder now saves the current recording progress in the browser so users can continue after refreshing the page. This reduces lost work when creating or editing guided tours and makes the recording experience more reliable.
Original PR description
Wrapper around localStorage for persistence of the current recording. Useful for resuming recording when the page refreshed. TASK-ID: 4378081 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale sessions now include an indicator when they are connected to an Italian company. This helps related localization features apply the right Italian compliance behavior without requiring users to manually identify the company context.
Original PR description
added a session key to indicate if the current session is connected to an Italian company. Related: https://github.com/odoo/enterprise/pull/75147
The Point of Sale now records when a session belongs to an Italian company. This helps Italian localization rules apply only where relevant, reducing unnecessary checks and supporting more reliable compliance behavior.
Original PR description
added a session key to indicate if the current session is connected to an Italian company. Related: https://github.com/odoo/odoo/pull/189610
1 change
Enhancements to existing features
This update addresses necessary adjustments to the Danish localization package (l10n_dk) following a recent change in the community version. Specifically, tests have been updated to align with the new account type. This ensures continued accurate reporting and compliance for Danish businesses using Odoo Enterprise.
Original PR description
Following the change of account type in the community pr, some tests had to be modified. task: 4341375