summaryrefslogtreecommitdiff
path: root/addons/project/data
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-02-15 16:09:36 +0100
committerThibault Delavallée <tde@odoo.com>2018-02-26 14:15:12 +0100
commit86350c56ff70863caeb8ce44ce34d45c3fb5791d (patch)
tree4f1a398d379c51a83aa26f530bf67ebc4c440516 /addons/project/data
parent6eda1dcb7a923ed31a68fa0a3aaf3f275c844a7d (diff)
[REF] various: clean override of _notify_get_groups
Overrides of _notify_get_groups are used to add some buttons in notification emails and control the display of "Access document" button. This commit cleans some overrides : * accounting: portal users that are not the customer have no access to the invoice and should not have the access button; * project: remove unnecessary override on project model and consider portal users have access to the document through customer portal; * sale: portal users that are not the customer have no access to the sale order and should not have the access button; * website_blog: display access button to everyone only if the post is published; otherwise keep standard behavior; * website_forum: display access button to everyone only if the post has not been closed or deactivated; otherwise keep standard behavior; * website_slides: display access button to everyone only if the slides has been published; otherwise keep standard behavior;
Diffstat (limited to 'addons/project/data')
0 files changed, 0 insertions, 0 deletions