Thursday, December 5, 2024
3 changes · master
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