Skip to content
Snippets Groups Projects
Commit 5130765d authored by Aurélien Warnon's avatar Aurélien Warnon
Browse files

[FIX] website_slides: allow portal users to share slides by email


Sharing content by email as portal is not working and raises an AccessRecord
because we are trying to access the "email_formatted" field of the company.

This is solved by adding 'compute_sudo' to the computed field.

Indeed, we want portal users to be able to read the email address of the
company while they cannot access res.partner records.

A tour has been adapted to ensure this behavior.

Task-3349132

closes odoo/odoo#123647

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent caf6183c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment