Monday, November 29, 2021
9 changes · master
Enhancements to existing features
The mail module’s automated tests were updated to avoid relying on an older internal test approach. This helps prepare the Discuss/mail area for a future framework upgrade while keeping the change internal and low risk for users.
Original PR description
Omission of some tests that still use `component.el`. In preparation of using OWL v2 in discuss code. Task-2694242 Task-2701230 Original PR: https://github.com/odoo/odoo/pull/80094
Survey creators can now set a different background image for each section, making surveys more visually engaging and better aligned with themed or conditional question flows. When respondents move between sections, the page automatically shows the section-specific background or falls back to the survey's main background if none is set.
Original PR description
Purpose ======= Allow the user to configure a background per section. Can be useful to illustrate a selected theme, especially for survey with conditional questions (e.g.: burger quiz). Specifications ============== This merge adds the background per section feature. If the section to display has a background image configured, the background will be refreshed using that section background image. If the section has no background, the survey background is used. The background is refreshed only if the previous and the next sections are different. The background is refreshed at the same time that the next question is loaded. The next section to display depends on free text (section with description) configuration and on conditional questions. The next section to display can be the next question's section or directly the next question itself (if the question is a section). Link ==== Task ID: 2225393
Payment-related logs now use a consistent format across payment providers and identify transactions by their reference whenever possible. This makes it easier for support and operations teams to trace payment issues regardless of which provider handled the transaction.
Original PR description
The logs for payments contain the transaction reference whenever possible. Before logs for transactions contained the reference or the id of the transaction in an inconsistent way. Now transactions are identified by reference whenever possible. The logs for payments for the same function on different acquirers should have the same format. Same flow steps for different acquirers had information passed in different formats. Now at each step of a transaction flow log messages have the same format regardless of the acquirer. Overall the payment logs should have an uniform format. Hopefully understanding log messages related to transactions should be easier, as now log format is independent of the acquirer and transaction are easily identified by reference. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website editor’s on/off toggle switches now show a grey cross when inactive and a green check mark when active. This makes settings easier to understand at a glance and improves the editing experience for users.
Original PR description
This commit aims to clarify the state of the boolean toggle widgets used in the web editor. To this end, a grayed out cross icon is added in the inactive state and a green check mark icon is added in the active state. task-2586313
This update renames internal mail test models to follow the newer JavaScript naming convention. It improves consistency for developers maintaining the mail module without changing business features or user workflows.
Original PR description
Rename models `test.*` to `Test*` in order to be consistent with the new naming convention for javascript models. Part of task-2701674.
This update improves clarity in settings screens by adding better subtitle styling. It also makes sales campaign totals more complete on dashboard buttons, while still respecting each user’s access rights when they open the underlying records.
The Social app experience has been cleaned up with clearer post previews, easier stream and comment flows, better demo content, and more useful YouTube previews. User permissions were also refined so social users and managers have more appropriate access while keeping business data visibility controlled.
Original PR description
PURPOSE Cleanup onboarding and usage of social app (and its sub apps) after a lot of new features done in 15.0. Provide some technical code cleaning to cleanup code and lessen technical debt.…
PURPOSE
Cleanup onboarding and usage of social app (and its sub apps) after a lot
of new features done in 15.0. Provide some technical code cleaning to cleanup
code and lessen technical debt.
SPECIFICATIONS
[IMP] social_*: add utility method to filter live post by media types.
This commit adds the same utility method that in social stream post model but in
social live_post to filter the live posts easily using their media type.
[IMP] social_*: revamp social post form view and preview
* add live_post_link to allow to go to the real post from preview
This commit adds a live_post_link computed field to live_post model.
this field is used in the live post preview and is used to allow the user
to navigate from the post preview to the real post on the target social
media. Note that Instagram live post link is never set for now as the
information we have do not allow us to compute the real link of the post
on Instagram;
* use user timezone to display publish date in post peview
* add cancel button to post view
* add info note about utmized link in the post content.
* add generic preview method for social.post.template to compute live_post_link
and published_date.
[IMP] social, social_*: revamp social stream post views and modal. This commit
applies multiple improvement to the stream post flow, notably on the stream
post modals (add stream and comments) and kanban.
* Add stream: swap order display of add stream modal, set stream_type_ids
by default if only one type for the media;
* Stream post comments modal: reposition of post comment input to make it
more obvious that this is post comment and not reply to other comments.
Display heart and thumbs up icons only if there are likes;
* Kanban view: review account stats: display up/down tendencies caret only
if != 0%
[IMP] social: move link account boutton to left on media kanban card
[IMP] social_*: revamp developper account setting display. This commit
simplifies the display of the developper account settings. From now on all
the developer account settings are regrouped under the same setting subsection
and duplicated informations are avoided.
[IMP] social_demo: complete social demo data and fake upload button
[IMP] social_*: review ACLS and information access
* apply groups on sales and lead counters for social posts. Compute the
counters in sudo in order to display the real aggregated number even
if the user does not have access to the records behind this number. Once
user clicks on the smart button, he can only view the records them has
access to;
* allow social user to read campaigns;
* allow social users to post their own social posts;
Note about ACLS. Distinction between the groups should be that
Social User:
* can read and edit all posts from other users
* create and edit posts + post his own post
* see all streams & accounts (with respect to multicompany rules)
* see and "use" Campaigns: if some models like SOs are unavaible, the stat
button should simply be hidden)
* read Social Post Templates
* delete posts only if there are their own
* For Demo module, give create access to social stream post to the users as
posting in demo mode automatically create stream posts.
Social Manager:
* access to everything (with respect to multico rules of course)
* delete streams
* access to the Configuration menu
* create, write & delete Social Post Templates
* full access on campaigns: if some models like SOs are unavaible,the stat
button should simply be hidden)
[IMP] social_youtube: display youtube thumbnails in (stream) post kanban views
This commits adds youtube thumbnails to social post kanban cards if the post
is linked to a youtube video. This thumbnails redirect on the related youtube
video. For stream posts that contain a youtube link in their message body a
thumbnail of the link youtube video is added to the kanban card.
To do both, new computed fields have been added:
* youtube_thumbnail_url
* youtube_video_url
Both field contains the url template for youtube video and thumbnail.
The advantage is that if the endpoint or part of the url changes, the update can
be done by code instead of having to update the templates.
[IMP] social_*: reorder smartbuttons on social post form view
Desired order:
1. Clicks
2. Opportunities
3. Quotations
4. Revenues
5. Engagment
6. Feed Posts
Task-2516278Marketing automation users can now save and reuse favorite audience filters, matching the experience already available in mass mailing. This makes it easier to manage recurring campaign segments and access them from a new Favorite Filters configuration menu.
Original PR description
this PR allow to save the favourite filter in marketing automation as we have in mass mailing. Task-id: 2092853
The Helpdesk team dashboard cards were redesigned to make key ticket metrics and actions easier to access. Managers and support teams can now quickly jump to important views such as open, urgent, unassigned, failed, closed, satisfaction, and SLA-related tickets directly from the dashboard.
Original PR description
Purpose of the commit is to improve the team kanban card layout on dashboard. task-2531483