Before this commit, if the portal user is a follower of the project he can use the chatter of new tasks in the project sharing feature since the follower of the project is automatically the follower of new tasks. But if he is not a follower of the task (for instance, old task in the project) then we have to check if the access token is the one of the shared project to give the access to the chatter. This commit checks the `access_token` of the project when we are in the project sharing form view to allow the portal user to use the chatter. task-2379518 closes #73341 Co-authored: Yannick Tivisse (yti) <yti@odoo.com>
6 lines
159 B
Python
6 lines
159 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import portal
|
|
from . import project_sharing_chatter
|