Daily updates from Odoo
Monday, December 23, 2024
9 changes
7 changes
Enhancements to existing features
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
The Indian payroll payslip report has been reformatted to present employee pay information more clearly. This improves readability and professional presentation for payroll teams and employees using the Indian localization.
Original PR description
Reformating Indian localization payslip report task-4069559
Shop floor workers can now manage component, byproduct, and production registration more directly from the related stock movement instead of individual line links. This simplifies the workflow, reduces behind-the-scenes synchronization issues, and improves barcode scanning for products and lot or serial numbers.
Original PR description
We remove the link between quality.check and stock.move.line for: - component registration checks - byproduct registration checks - register production checks Instead, we link the quality.check directly with the stock.move, and show a table of move lines on the check for the user to manipulate all at once. This change allows us to get rid of a lot of synchronization code related to the continue consumption or synchronization between quality.check and stock.move.line. We also add a bunch of improvements to barcode scanning in the shop floor. task-3976734
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
Adds tools to generate EPC codes for RFID tags and make them available for export from stock move lines. This helps businesses prepare product and tracking data for RFID workflows in CSV or Excel without stopping large batches because of one invalid item.
Original PR description
Part 1: Provide an API route to allow generation of EPC Code Part 2: Allow to export SGTIN EPC from move line (xlsx, csv) [Task 4256189](https://www.odoo.com/odoo/project/966/tasks/4256189)
2 changes
Enhancements to existing features
The mail attachment viewer now shows a tooltip explaining that the popout action opens a PDF in a separate window. This makes the control easier to understand and helps users choose the right viewing option without confusion.
Original PR description
Add a new tooltip on the popout to open a pdf in a different window. task-4423155
The Discuss interface receives small visual refinements that make conversations easier to scan, including better spacing, clearer unread indicators, and cleaner message dates. The member list now opens by default and remembers the user's preference, helping teams see who is online and encouraging collaboration.
Original PR description
Some style tweaks to discuss for improved readability and usability: 1. Slightly more vertical spacing between discuss sidebar items. -> Motivation: discuss sidebar felt too crowded, which was a bit…
Some style tweaks to discuss for improved readability and usability: 1. Slightly more vertical spacing between discuss sidebar items. -> Motivation: discuss sidebar felt too crowded, which was a bit hard to see group of avatar and related conversation name. 2. `.rounded-3` on category and channel actions rather than `.rounded-circle` -> Motivation: rounded square match rest of UI better, and makes hover effect slightly more visible. 3. Consistent spacing in-between category and channel actions, less spacing when next to badge counter. -> Motivation: spacing was too big and inconsistent. 4. Composer in discuss app is slightly lower. -> Motivation: felt too high compared to other chat apps 5. Member list is open by default in discuss app. Its default opening state is saved in local storage, thus preserved when open. -> Motivation: better visual of online members, incite for more communication between members, and also discuss feels more feature-complete. 6. Discuss sidebar unread indicator (small dot) is slightly more visible (opacity 35% => 50%). messaging menu important indicator is more visible (opacity 50% => 75%) -> Motivation: more visible while still not too distracting, the new opacity fits more with the rest of UI. 7. Message datetime does not show year if same as current year -> Motivation: reduces UI noise a bit for 2 days-old messages. https://github.com/odoo/enterprise/pull/75971 Discuss app, before  Discuss app, after  Messaging menu item, before (important bullet opacity 50%)  Messaging menu item, after (important bullet opacity 75%) 