Thursday, January 21, 2021
5 changes · master
Enhancements to existing features
Website editors can now choose the mailing list for a newsletter popup directly from the options panel instead of opening a separate dialog. Newsletter popups also gain the same display settings as regular popups, such as size, position, and timing, making campaign setup more flexible while preserving existing subscription behavior.
Original PR description
Previously we had only a few options available for newsletter popup in the web editor and had to use a popup in order to change the newsletter. In the first commit, we have changed popup to a select so that we can change newsletter from options panel itself. In the second commit, we made all options from the popup to be available for the newsletter popup. Here the newsletter popup used the exact same structure as the s_popup we only fill the popup content using the public widget. task-2246975
The quiz creation screens now display action buttons and icons correctly on both mobile devices and computers. This makes it easier for website learning content creators to save, cancel, or update quizzes without layout issues.
Original PR description
Before, the buttons to save, cancel or update and the icons weren't displayed correctly. Now, all elements are displayed correctly on mobile or on computer. task-2153990 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 now see default images in image wall and gallery snippets, making these blocks look complete when first added. The controls to add or remove images are also more prominent, helping users manage gallery content more easily.
Original PR description
Before this commit the image wall and image gallery snippets had no default images (unless overridden by some themes), and the buttons to add or remove images where not easily visible After this commit the image wall and image gallery snippets have default images and the action buttons are their first option line and have highlighted backgrounds colors task-2431420 https://github.com/odoo/design-themes/pull/442 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
Discuss channels now make it easier to invite the right contacts while filtering out people who are already members. Subscription rules are applied more reliably, and channel changes now warn about removing contacts who cannot belong to standard channels.
Original PR description
* Add regular res_partner in the invite modal search for mass_mailing channels * Remove partners and users already member of the channel in the invite search * Restrict invite search result based on authorized res_group member when applicable * ensure Auto Subscribe Groups feature always works ( edit user : group_in) * add a warning about and remove non user member of a channel when changing back from mass_mailing to normal channel task id : 49261
Sales teams can now receive an upsell activity when prepaid service delivery reaches a configured usage threshold. This helps prevent unbilled work and avoids repeatedly notifying salespeople for the same order line.
Original PR description
Purpose ====== When offering services, it is critical to make sure that the time being delivered is billable. Otherwise, the company is loosing money. ## Details Two fields have been created in…
Purpose ====== When offering services, it is critical to make sure that the time being delivered is billable. Otherwise, the company is loosing money. ## Details Two fields have been created in product.template: 1. service_upsell_warning 2. service_upsell_threshold The first one is a boolean, if it is checked then the second one is displayed to add a threshold. This threshold is used to create an upsell activity because the (qty_delivered / qty_ordered) in a SOL of this product is greater than the threshold defined in the product. Moreover, when the following condition for a SOL: (delivered quantity / ordered quantity) >= threshold set in the product is True, then we display an upsell warning for the corresponding SO. The problem is we don't check if the warning has already displayed by a certain SOL. Thus, each time we timesheet for this SOL, we display one more time. To avoid to spam the salesman, we add a new boolean field in sale.order.line, this field will be True if the warning upsell activity is shown thanks to the SOL. A method is added in sale module to create the upsell activity for each SO. This method is used in sale_timesheet module to avoid duplicated code. Finally, an unit test has been added to check the feature. task-2411291