summaryrefslogtreecommitdiff
path: root/setup/setup_dev.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2016-11-29 18:47:08 +0100
committerThibault Delavallée <tde@odoo.com>2016-12-21 10:53:39 +0100
commit4f54f13074796ab11f23f850e1c2b76ab67b51ea (patch)
tree847d894ccb74e053316681d7c4fe44dee29a1405 /setup/setup_dev.py
parent0bc2cbe149211f4be86db6f17f25d55065a1b1ee (diff)
[FIX] mail: customers should not follow default internal subtypes
This is a manual forward-port of commit 03ac47b9d71883a77600f0b416cb5150a07358aa Currently when someone is added as follow to a document default subtypes are computed if no specific subtypes are given to the subscription. However if internal subtypes are set as default those are added to all new followers. It should take into account customers and shared users and avoid adding them internal subtypes. Customers and shared users are not notified of messages using an internal subtype. So currently there is no information leak. However with this fix we ensure internal subtypes are not followed by external people even if no notification is created. Compared to original commit tests are slightly updated because there are now default internal subtypes in data. Not in 10.0 and previous versions.
Diffstat (limited to 'setup/setup_dev.py')
0 files changed, 0 insertions, 0 deletions