Friday, June 5, 2020
9 changes · master
Enhancements to existing features
Digest emails are redesigned to be more engaging, with clearer sections, better tips, daily delivery options, and mobile guidance. The update also adds and refreshes tips across apps to encourage feature adoption, while making digest delivery more reliable if scheduled emails are missed.
Original PR description
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and…
PURPOSE
Make digest email and tips more appealing. The goals of these tips are
* to encourage the adoption of other apps (Did you know ?);
* to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
* to show social proof and increase trust (emphasis on already existing
projects / customers to);
SPECIFICATIONS: DIGEST TEMPLATE
Improve template according to FP specifications, aka
Header
Up to 2 tips
KPIs
Want to customize?
Mobile Tip
Footer
SPECIFICATIONS: QWEB TEMPLATE
Digest now uses qweb views instead of a standard mail.template record for
rendering as
* template is very custom;
* probability of breaking it while edition the mail template is high;
it is easier to maintain and extend in qweb;
* only body was really used, other mail-related fields were not used;
We therefore remove the mail template data and the field used for it on
the digest model. Template is now forced to a Qweb view.
We can also remove the template_id field. Indeed we think that having
different templates for digests is a really advanced use case we do not
want to support.
SPECIFICATIONS: DELAY BEFORE SENDING
In this commit we introduce a way to set a delay before sending a tip.
Using a new field, a tip can be send a few days after its module installation.
This require to store the source module on the tip itself. When installed
from data it will be automatically filled using its xml_id if not set
SPECIFICATIONS: TIPS
Improve tips content and display according to FP specifications.
LINKS
Task ID 2197417
Community PR odoo/odoo#51619
Enterprise PR odoo/enterprise#10697
Upgrade PR odoo/upgrade#1256The Point of Sale IoT Box image is updated to work with Raspberry Pi 4 hardware using Raspbian Buster. This helps businesses run POS-connected devices on newer Raspberry Pi equipment, with display handling adjusted for the newer environment.
Original PR description
With this PR we can use the IoT Box with the new Raspberry Pi 4 B 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
This update makes it clearer how to add content snippets in the web editor by changing the visual behavior when a snippet is selected. The snippet now rotates on click and better follows the mouse position, helping users understand and complete drag-and-drop actions more easily.
Original PR description
Ease the understanding of the drag'n drop of a snippet. Users test have demonstrated that one doesn't understand how to add a snippet on the page. * Rotate the snippet once clicked, as it is for tasks in project application. * Keep the position of the mouse. task-2261817 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website forms and newsletter signups can now use reCAPTCHA v3 to reduce automated spam submissions. Administrators get configuration options, and visitors receive clearer error messages when a form cannot be submitted.
Original PR description
add recaptchaV3 support on website_form and newsletter subscribtion task-2217980 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Belgian accounting setup has been refreshed using National Bank of Belgium references to fill missing accounts and make income and expense categories more consistent. Account names are now available in Belgium's three official languages plus English, improving usability for Belgian businesses and advisors.
Original PR description
Task [2213348](https://www.odoo.com/web#id=2213348&action=333&active_id=967&model=project.task&view_type=form&cids=1&menu_id=4720) There where missing accounts and the CoA was not consistent (like some income accounts but not the expense counterpart). We chose to take the accounts from the National Bank of Belgium, and took the opportunity to translate all the accounts in the 3 official languages of Belgium + english. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website pagination now supports links that must be opened through a form submission instead of a normal page link. This helps visitors continue navigating portal and blog pages smoothly after route behavior changes.
Original PR description
As we introduced postlinks, some routes are no longer compatible with GET requests anymore. Some of those routes were using the pager which only send GET request. In order to make the pager comptabile, we're addding a way to use postlinks in the pager. task-2250385 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editors can now crop images directly on the page and adjust image quality and width from the left panel, instead of opening separate pop-up windows. This makes editing faster, less disruptive, and gives users a clearer preview of the final image and file size.
Original PR description
Previously, cropping an image was done inside of a modal window, turning it into an inline widget makes the editor feel more integrated and allows you to better see the result of cropping directly in the page, it's also less intrusive to the user's edition workflow. At the same time, the way cropped images are saved was refactored to use the new original_id field on ir_attachment, as the old system was creating problems. task-2248182 In continuity with the inline crop, in an effort to make the image workflow as seamless as possible in the website editor, the image optimization feature has been moved out of the modal which could be opened through the media-dialog and into the left panel. This commit adds a quality slider and a width selector, as well as a preview of the image's weight to the left panel, and removes the image_optimize dialog. task-2192755
Digest emails and in-app tips were refreshed to be more appealing, clearer, and better aligned with the updated email design. The change helps promote app adoption, make Odoo feel more lively, and improve trust by highlighting useful examples and business value.
Original PR description
PURPOSE
Make digest email and tips more appealing. The goals of these tips are
* to encourage the adoption of other apps (Did you know ?);
* to make Odoo look more fun (Fun tips and tricks, young and dynamic style);
* to show social proof and increase trust (emphasis on already existing
projects / customers to);
SPECIFICATIONS
Rewrite tips to make them more inline with new digest template. Rewrite
KPIs computation while converting digest template to QWeb.
See community odoo/odoo#51619 PR for more details.
LINKS
Task ID 2197417
Community PR odoo/odoo#51619
Enterprise PR odoo/enterprise#10697
Upgrade PR odoo/upgrade#1256Website helpdesk contact forms have been adjusted to work with the latest CAPTCHA validation changes. This helps keep form submissions protected from automated spam while preserving the customer support request flow.
Original PR description
Adapt website_form related controllers to recaptcha changes Related to: https://github.com/odoo/odoo/pull/48466 task-2217980