Monday, May 17, 2021
9 changes · master
Enhancements to existing features
Currency exchange rates shown in the kanban overview are now rounded to two significant digits. This makes the display easier to read at a glance while preserving the information needed for day-to-day currency management.
Original PR description
Task: 2519395
The stock return process now checks the type of record before applying limits meant only for stock transfers. This lets other workflows reuse the return model with multiple records without being blocked unnecessarily, while keeping the existing stock transfer behavior unchanged.
Original PR description
Before this commit, We were checking for multiple `active_ids` before checking for `active_model` in context, which was blocking point if user want to use this model with `active_ids` with different `active_model`. With this commit, we are checking condition of multiple `active_ids` if `active_model` is `stock.picking`. so other users can use this model with `active_ids` without changing any flow. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The meeting count button and visual meeting indicator are now available through Calendar instead of depending on CRM. This makes meeting information accessible for partners even when CRM is not installed, improving consistency for users who rely on calendar scheduling.
Original PR description
Move the meeting stat button and kanban pill from CRM to Calendar, purpose is to allow its usage even if CRM is not installed as this makes more sense since this field is usually related to Calendar. Increase query number limit in company leave test, in order to take into account the newly introduced query in Calendar. UPG-PR: odoo/upgrade#2423 Task-2514473 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Contact and course views now show a clearer attendee list with enrollment date, last activity date, progress, and related course details. This helps teams better understand student engagement and identify who may need follow-up across eLearning courses.
Original PR description
currently, when we click on the stat button "x Courses" on a contact we land on the dashboard of the courses that this user follows. but we would like to have more information about the progress of…
currently, when we click on the stat button "x Courses" on a contact we land on the dashboard of the courses that this user follows. but we would like to have more information about the progress of this student on each course. for instance, more than the progress, we may want to see when was the last time our student was active on a course. below listed are the major changes done for this improvement. in elearning view of contact form : 1. replaced the view from the stat button by a view list and added default search filter = contact in contact module. 2. added new column 'last action on' where it is the date from the last action. 3. changed the existing view to the following order of columns listed below 'course name', 'responsible', 'enrolled on', 'last action on' and 'progress' besides that, 'course type', 'visibility', 'enroll policy' and 'website' are changed into conditional columns. in e-learning module: 1. renamed 'created on' to 'enrolled on' as it will be more meaningfull to the context 2. in member view, 'last action on' field is added next to 'enrolled on '. 3. added a default search filter with the name of the course in member view, so that we can display all the attendees from all courses. 4. added a new menu "attendees" under the reporting menu which has the following columns : enrolled on, contact, email, course name, responsible, last action on and progress with a default group filter of 'channel_id' Task-Id : 2409447
Links created through user-generated content in the editor, forum, and profile areas are now marked with a standard attribute that identifies them as user-submitted. This helps search engines and other services better understand the origin of those links, reducing reputational risk from community content.
Original PR description
+ Odoo Editor Lib Build See odoo task : https://www.odoo.com/web#action=333&active_id=1695&cids=1&id=2319575&menu_id=4720&model=project.task&view_type=form -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Live previews in Mail-related fields now update only after the user pauses typing, rather than repeatedly during typing. This reduces unnecessary processing and helps avoid performance issues, especially with heavier content such as media previews.
Original PR description
…debounce The FieldChar and the "Emoji" fields support a "onchange_on_keydown" attribute that allow triggering the onchange event when the user types into the field. (Instead of having to wait for a…
…debounce The FieldChar and the "Emoji" fields support a "onchange_on_keydown" attribute that allow triggering the onchange event when the user types into the field. (Instead of having to wait for a blur event). This is especially useful, for example, in the social module to refresh the post preview when the user is typing his message. The current strategy to avoid spamming this onchange event was to throttle the method to trigger it at most once every second. However, triggering it every second could still be problematic in terms of performances and could cause loading issues (e.g: if you have a large GIF in your post preview) To try to mitigate this issue, we changed the strategy from throttle to debounce. Meaning the onchange will be triggered one second after the user is done typing, which still gives a nice "live update" effect without triggering the onchange too much. Task-2500821 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Documents spreadsheet feature has been updated with new usability enhancements, including hiding the grid, easier automatic sums, and better formula handling when inputs are missing. This should make spreadsheets more flexible and convenient for everyday business users while also including general reliability improvements and bug fixes.
Original PR description
Most notable improvements are: - allow to hide the grid - default value is used if a formula argument is missing - keyboard shortcut ALT+= to automatically sum data - various code improvements and refactorings - various bug fixes The complete changelog with all the new spreadsheet features and bug fixes can be found here: https://github.com/odoo/o-spreadsheet/releases/tag/3.0.0 (still unpublished at the time of writing this commit)
Managers can now see how each employee's recorded timesheet hours compare with their expected working hours directly in the timesheet grid. This makes it easier to spot overwork or under-allocation and rebalance people across projects.
Original PR description
Before this commit, when the grid view of timesheets is grouped by employee_id, we display the working schedule of each employee based of his resource calendar. However the manager should know the working schedule of his employees, but if he has a good indication of the workload of each employee, this can help the manager to find a better balance his resources accross projects. This commit changes the working schedules for each employee by the difference between the number of hours the employee is supposed to work on that period according to his resource calendar and the duration of his timesheets during that same period. task-2500800
Facebook posts can now include GIF files directly from the social posting flow. This makes campaign content more flexible by allowing animated media to be published correctly through Facebook.
Original PR description
This commit adds support for .gif upload when posting on Facebook. The Facebook API handles those GIFs by requiring to hit the '/videos' endpoint instead of the '/photos' endpoint. Indeed, for Facebook, a .gif file is fully considered as a video. Task-2500821