Monday, December 23, 2024
8 changes · master
Enhancements to existing features
Tax legal notes can now be translated, making them easier to present correctly in each customer or company language. This improves localization for accounting documents and helps businesses meet local communication needs.
Original PR description
This commit will allow the legal notes on taxes to be translatable. task: 4402997 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The IoT Box setup now ensures line numbers appear when using the built-in editor with administrator access. This makes development and troubleshooting on the device faster and less error-prone for support and technical teams.
Original PR description
Vim alias on the IoT Box refers to `sudo vim` in order to save precious time while developing. As it uses `sudo` privileges, the `.vimrc` configuration file from `pi` home directory - that actually contains the required `set number` argument - was not used anymore, resulting in very inconvenient non-displayed line numbers in the utility. We fixed this issue. Task: 4403421
Odoo no longer sends an unused company identifier in certain web and mail-related requests. This slightly streamlines request data without changing user-facing behavior, helping keep the system cleaner and easier to maintain.
Original PR description
The current_company_id key is not used on the server, so it does not need to be sent in the context. Note also that, only the web_search_read function sends this key. part-of task-id 4250356
This update standardizes how message notification details are handled across Odoo, reducing the risk of errors and unnecessary processing. It also cleans up older code and refreshes performance expectations in several business apps, preparing the messaging system for future recipient improvements.
Original PR description
Consider 'msg_vals' propagated through layers of notification is False by default, not sometimes None or False. Add fallback to avoid trying to access keys of False/None. Correctly update some old writing. Be sure to use a writing that allows to skip message access in simple cases, as it was build to avoid useless queries. Update overrides docstrings: use comments to avoid overriding the base docstring. Rename / remove outdated code. Update some left query counters. Prepares Task-4273479: [mail] Email-like recipients
This update cleans up how notification data is passed through mail-related features, reducing edge-case errors and avoiding unnecessary database lookups. It also refreshes naming, documentation comments, and performance test expectations across related apps as preparation for future email-like recipient improvements.
Original PR description
Consider 'msg_vals' propagated through layers of notification is False by default, not sometimes None or False. Add fallback to avoid trying to access keys of False/None. Correctly update some old writing. Be sure to use a writing that allows to skip message access in simple cases, as it was build to avoid useless queries. Update overrides docstrings: use comments to avoid overriding the base docstring. Rename / remove outdated code. Update some left query counters. Prepares Task-4273479: [mail] Email-like recipients
Payroll users can now reset payslips to draft directly from the payslip list, making corrections faster without opening each record. The available list actions were also reordered to make common payroll tasks easier to find.
Original PR description
Add set to draft action to payslip list and fiddle with the order of existing actions task-4320181
The sales-related automated tests were simplified to match recent updates in the core Odoo platform. This is an internal quality improvement that helps keep sales, subscriptions, field service, and timesheet features easier to maintain without changing day-to-day user workflows.
Original PR description
`sale` test commons have been cleaned up and simplified a bit. See also odoo/odoo#191482
The update stops sending an unused company identifier in some background request data. This simplifies request handling without changing visible behavior for users.
Original PR description
* = account_accountant, web_studio The current_company_id key is not used on the server, so it does not need to be sent in the context. Note also that, only the web_search_read function sends this key. part-of task-id 4250356