Files
odoo_source/addons/website_blog
Achraf (abz)andThibault Delavallée f5adb5b25d [FIX] mail: send notification mail with right access link when using mail.thread
PURPOSE

Notification may be sent using a generic mail.thread record, notably when
sending user notifications. In that case links to view document are
incorrect.

HOW TO REPRODUCE

Issue

    - Install "Approvals"
    - Submit new approval with you as "Request Owner"
    - Click on "View Approval Request" in your mailbox

    The link redirects to a 505 error

Cause

    The model is not the correct one and the res_id is undefined

Solution

    Specify the model and the res_id to _notify_get_action_link
    when creating the link with kwargs

SPECIFICATIONS

Propagate message value through various notification sub methods. That way
we can rely on them if model seems void.

Also limit values given as URL parameters to some white listed values.

LINKS

opw-2358846
Task ID-2379766
Followup of odoo/odoo#60998
Followup of odoo/odoo#61545
Closes odoo/odoo#63292
Closes odoo/enterprise#15585

closes odoo/odoo#64229

X-original-commit: 58bac5d242d6548d54f0163328fa64b319852e40
Related: odoo/enterprise#15634
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Co-authored-by: Achraf Ben Azzouz <abz@odoo.com>
Co-authored-by: Thibault Delavallée <tde@odoo.com>
2021-01-07 17:44:37 +00:00
..
…

Odoo Blogs

Write, Design, Promote and Engage with Odoo Blogs.

Express yourself with the Odoo enterprise grade blogging platform. Write beautiful blog posts, engage with visitors, translate content and moderate social streams.

Get your blog posts efficiently referenced in Google and translated in mutiple languages in just a few clicks.

Write Beautiful Blog Posts

Drag & Drop well designed 'Building Blocks' to create beautifull blog posts that perfectly integrates images, videos, call-to-actions, quotes, banners, etc.

With our unique 'edit inline' approach, you don't need to be a designer to create awsome, good-looking, content. Each blog post will look like it's designed by a professional designer.

Automated Translation by Professionals

Get your blog posts translated in multiple languages with no effort. Our translation "on demand" feature allows you to benefit from professional translators to translate all your changes automatically. ($0.05 per word) Translated versions are updated automatically once translated by professionals (around 32 hours).

Engage With Your Visitors

The integrated website live chat feature allows you to start chatting in real time with your visitors to get feedback on your recent posts or get ideas to write new posts.

Engaging with your visitors is also a great way to convert visitors into customers.

Build Visitor Loyalty

The one click follow button will allow visitors to receive your blog posts by email with no effort, without having to register. Social media icons allow visitors to share your best blog posts easily.

Google Analytics Integration

Get a clear visibility of your sales funnel. Odoo's Google Analytics trackers are configured by default to track all kinds of events related to shopping carts, call-to-actions, etc.

As Odoo marketing tools (mass mailing, campaigns, etc) are also linked with Google Analytics, you get a 360° view of your business.

SEO Optimized Blog Posts

SEO tools are ready to use, with no configuration required. Odoo suggests keywords for your titles according to Google's most searched terms, Google Analytics tracks interests of your visitors, sitemaps are created automatically for quick Google indexing, etc.

The system even creates structured content automatically to promote your products and events effectively in Google.

Designer-Friendly Themes

Themes are awesome and easy to design. You don't need to develop to create new pages, themes or building blocks. We use a clean HTML structure, a bootstrap CSS and our modularity allows you to distribute your themes easily.

The building block approach allows the website to remain clean after end-users start creating new contents.

Easy Access Rights

Not everyone requires the same access to your website. Designers manage the layout of the site, editors approve content and authors write that content. This lets you organize your publishing process according to your needs.

Other access rights are related to business objects (products, people, events, etc) and directly following Odoo's standard access rights management, so you do not have to configure things twice.