Thursday, January 2, 2020
9 changes · master
Enhancements to existing features
Lunch product names and descriptions can now be translated, making the Lunch app clearer for users in different languages. These translations also appear in the lunch product kanban report view, improving consistency across the app.
Original PR description
Task : https://www.odoo.com/web#id=2068989&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.16d01e04d38068ff598e039cafde830d -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update changes how total course or slide duration is shown so users see it in a clearer time format. It is a small usability improvement that makes training content information easier to read at a glance.
Original PR description
Description of the issue/feature this PR addresses: website_slides Current behavior before PR: Desired behavior after PR is merged: Added Missing float_time widget on total_time field Cc: @tde-banana-odoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Live chat invitations can now follow visitors across any page where live chat is available, not just pages that are actively tracked. This helps operators connect with customers more reliably and reduces missed chat opportunities.
Original PR description
Before this commit, only the tracked page can start the chat request at visitor side. Which is a bit sad as the operator can send the visitor a chat request but if the visitor goes on a non tracked page but has the opportunity to start a livechat, the chat request won't reach the visitor. This commit refactor the way a chat request is sent to the client side. Instead of looking for a opened chat request on every page request, the chat request information (if any opened) is added to the channel info that are given to the Livechat button widget. If the widget receives chat request infos, the widget set himself, before starting, the cookie of the livechat session using the chat request informations. Then, the conversation (from chat request) is automatically loaded as any other opened chat session. Task ID: 2081550
Survey users can now see when a survey is currently used by one or more eLearning courses. This makes it easier to understand where certification surveys are applied and navigate directly to the related course records.
Original PR description
Previously there was no way to view when a survey (specifically a certification survey) was being used by a course from the survey app. We handle 2 cases for when a survey is currently assigned to a course: 1. A survey is assigned to 1 course => survey form stat button visible to bring user directly to corresponding course form. 2. A survey is assigned to more than 1 course (unlikely, but currently possible) => survey form stat button visible to show user a list of corresponding courses where each list entry can be clicked on to view corresponding course form. Note: we do not cover viewing courses a survey was previously assigned to as this would be currently be unreasonable to track. Task: 2153743 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
Website editors can now pick custom background colors instead of being limited to the theme's preset colors. This gives users more creative control and makes it easier to match brand colors or create a custom visual style.
Original PR description
Description of the issue/feature this PR addresses: Before this patch, users could only choose background colors that were defined by the theme. With this patch, users are now able to choose any color they want, creating their custom palette, just as it was possible while using Summernote. 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 @Tecnativa
The Expenses app now includes an upload button directly in the kanban view, making it easier for users to add receipts and documents from mobile devices. This improves the day-to-day expense entry flow by reducing navigation and making uploads more accessible.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web#id=2152155&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.06fc814303af7f8fedc742d235bea6d5 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
Customers can now purchase paid documentation courses directly from the course page, similar to training courses. Free or unpaid documentation courses remain unchanged, making the buying path clearer without affecting existing content.
Original PR description
this task adds a button on the frontend to allow the end user to buy a documentation course. Task ID : 2125086 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The activity description field has been expanded to use the full available width in the form view. This makes activity details easier to read and reduces wasted space when users are entering or reviewing longer descriptions.
Original PR description
Description of the issue/feature this PR addresses: The description field is small right now Current behavior before PR: The default description field is half the width while it should be the whole width. The view is not very easy to look at:  Desired behavior after PR is merged: The default description is the full width and the view is easier to look at:  -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors can now use a shared image picker to choose images, and optionally videos, when configuring page snippets such as backgrounds and covers. This reduces duplicated behavior behind the scenes and makes media selection more consistent across website editing features.
Original PR description
This PR introduces a new web_editor UserValueWidget on the we-imagepicker tag, this widget allows the user to pick an image or a video using the MediaDialog, and calls the containing snippet option's method (specified via data-attribute) with the url of the chosen picture or video as widgetValue. Videos are disabled by default and can be accessed through the use of the data-allow-videos="selector" data attribute, any $target that matches the selector will have videos available in the media dialog. It also migrates the background option to use this new widget, and removes the unused class `oe_custom_bg` task-2155808