Daily updates from Odoo
Friday, April 19, 2024
13 changes · master
Enhancements to existing features
Odoo Enterprise now uses a newer Bootstrap version, improving the foundation for screens, styling, and future theme options across several apps. The update also includes small visual fixes for dialogs, barcode lists, modal backgrounds, and dark-mode alert colors to keep the user interface consistent.
Original PR description
*: account_followup, account_reports, documents, frontdesk, room, sign, snailmail_account_followup, web_studio This commit upgrades Bootstrap library from versison 5.1.3 to 5.3.3. In a nutshell, the…
*: account_followup, account_reports, documents, frontdesk, room, sign, snailmail_account_followup, web_studio This commit upgrades Bootstrap library from versison 5.1.3 to 5.3.3. In a nutshell, the big changes are : - A lot more CSS custom properties all over the place - ScrollSpy has been completely rewritten (moving from onscroll listener to IntersectionObserver) - Support for color modes (aka. light/dark modes ; but currently disabled as we don't take advantage of it yet). Note: even though the new color modes have a lot of potential, as we don't take advantage of it yet, the built-in dark mode is currently disabled. It should be enabled once actually implemented. This commit also removes the `.bg-text-*` helpers backported from Bootstrap 5.2 (and now built-in) and an override of the `Tooltip.prototype.setElementContent()` function as the Tooltip component now delegates the its content assignation to the `TemplateFactory` class. References: - https://getbootstrap.com/docs/5.3/migration task-3600468 Related PR: https://github.com/odoo/odoo/pull/158560
Appointment scheduling is now easier to understand in the Gantt view, with clearer wording around unavailable attendees and improved display for longer attendee lists. Events marked as available are also shown correctly, reducing confusion when reviewing appointment availability.
Original PR description
The enhancement addresses several aspects of the appointment's usability and performance in managing attendees and displaying availability within the Gantt view. **Key Improvements:** - Attendee Alignment: Adjusted the alignment of the unavailable attendee list to comply with updated guidelines. - Terminology Update: Replaced 'user' with 'attendees' in the appointment event form view (unavailable attendee alert) to better reflect the context and improve clarity. - Availability Visibility: Modified the Gantt view logic to correctly represent events marked as "available." Previously, events set to available erroneously displayed as unavailable, leading to confusion. - Unavailable Attendees Handling: Improved the UI for displaying a long list of unavailable attendees. Now, if the list exceeds a certain length, the title is positioned at the top, with the names of the attendees listed below, enhancing readability and user experience. Task-3815370
Odoo VoIP can now be configured to work with multiple providers instead of being limited to a single setup. This gives businesses more flexibility to manage phone services across teams, vendors, or deployment needs while keeping user configuration and access controls aligned.
Original PR description
* = test_discuss_full_enterprise, voip_onsip Add the support for multiple voip providers. Task-3130964
Managers can now resend appraisal feedback requests to all employees linked to an appraisal, making follow-up easier when responses are missing. The appraisal survey status badge color was also aligned with other views for a more consistent user experience.
Original PR description
With this commit, a new action resend is available to resend a feedback message to all employees linked to an appraisal. And the color of state badge changed to be consistent with others views. task : 3749709
The document split tool now detects blank pages and uses them to suggest where a document should be split by default. This saves users time when separating scanned or combined documents, while still allowing them to adjust the split points manually.
Original PR description
This commit allows the split tool to take blank pages into account to determine where to split the document by default. One can change that afterward if he wants to.
Task-3478062Users can now turn existing attachments into managed Documents directly from the attachment area. This reduces manual steps, helps teams organize files into workspaces faster, and makes document management more accessible from everyday workflows.
Original PR description
task-2360547
Scheduled social and event notifications are now sent much closer to the time chosen by users, reducing delays that could cause people to miss live events. The scheduling process is also more resilient because interrupted jobs can restart and continue processing unsent posts, though rare duplicate posts may occur after failures.
Original PR description
Goals: - Have a more accurate scheduler Previously, the push notification system used a cron job that was executed once every hour. For the event module, having such delay can be really problematic…
Goals: - Have a more accurate scheduler Previously, the push notification system used a cron job that was executed once every hour. For the event module, having such delay can be really problematic as an event can start at any time. If an event starts right after the execution of the cron job, the users will be notified one hour after the begining of the event. The users could hence miss the event which is pretty unfortunate. Now, the posts will be posted via a cron job that will be executed at a specific point in time. With the new cron jobs, the moment when the posts is actually posted will be much closer than the moment specified by the end-user. This is mainly due to the fact that the daemon process that executes the cron jobs will do a lookup once every minute. - Improve the reliability of the scheduler Thanks to the cron job, the system will also be more resilient: If the cron job crashes while sending the posts, the cron job will be restarted and the system will be able to process the posts that have not been marked as processed (i.e: "posted" or "failed"). The system will guarantee an "at-least-once delivery" of the live posts meaning that there could be some potential duplicates in case of failures: If the server crashes after having sent the request to the external services and before marking the "live posts" as processed, the cron job will be restarted. It will then re-select the live posts that has not been marked as "processed" and will send another request to the external services. As those services are not idempotent, the services will produce another post. LINKS Task id: 2336219
Document folder and tag filters can now be displayed in a defined order, making long filter lists easier to scan and use. This helps teams organize document navigation consistently based on the fields that matter to their workflow.
Original PR description
PURPOSE Allow to sort the items of a folder/tag filter by a specific field of the comodel. SPEC Add an 'order' attribute on the tag of the searchpanel. Task 2001615
Manufacturing work orders now show the reserved lot for components assigned during picking validation and pre-fill the quantity to produce instead of starting at zero. This helps shop floor users work faster and reduces the chance of entering the wrong lot or production quantity.
Original PR description
Tablet view - Pre fill Production Quantity
Manufacturing work orders now handle partial production more consistently by creating follow-up manufacturing orders from any relevant work order, not just the first one. The tablet view no longer starts work automatically, and backorders are avoided when multiple people are actively working on the same manufacturing order, reducing confusion and duplicate follow-up work.
Resolved issues and error corrections
Users without marketing-related permissions will no longer see campaign menus or email marketing options they cannot access. This prevents confusing navigation and avoids permission errors when social users open restricted campaign features.
Original PR description
User has only the access rights for social poster and, no access rights for email marketing, marketing automation and sms marketing, is still able to see the email marketing icon similarly this issue is for social manager rights. Which leads to record rule error. In social module the campaigns menu shows without any access rights. this commit solve this issue, i.e. the email marketing icon will not shown if user dont have any access rights. and also campaigns menu is hidden if user dont have any access related to that menu. **TaskID - 2417993**
Manufacturing users can now record partial quantities across work orders without getting stuck or needing to create a backorder just to continue. The tablet view also shows more accurate quantities for remaining work and component consumption, reducing confusion during production.
Original PR description
When processing production across various work orders, if after the first work order, less quantity is produced in any of the work orders, Odoo locks the WO and it is not possible to go back to it and treat the remaining quantity again (as in V12/V13). The only way to treat the remaining quantity is to create a backorder from the source MO. Also a misleading message appears when this under production is recorded : https://drive.google.com/file/d/1NppBavfj30IjkhbCwBcIMrsw_ohDrec1/view?usp=sharing FIX : If the user only records partial quantity, leave the field open and let the user record the rest.
Code cleanup and technical improvements
Financial reports now apply styling and value formatting more consistently after report lines are prepared. This makes reports more uniform for users and simplifies future report maintenance by centralizing formatting behavior.
Original PR description
Put the classes and format automatically the values. This will help to have a better harmony, and also makes implementation of reports more subject to use the `no_format` key; which can be useful in multiple cases.