summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorDharmraj Jhala <dja@odoo.com>2020-07-15 10:42:44 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-24 06:57:33 +0000
commit08c0dc929da38595e29a9d1db93065547cd98ad1 (patch)
treea2fa1dd3435e1136f30d2a17db6b4ab1ca44a41f /addons/mail/static/src/models/thread_cache/thread_cache.js
parent47f5e14eca4e13010cc11f688ea92f65a2695d38 (diff)
[IMP] account, purchase, sale: allow sending email to self
Currently, if users try to send invoices / quotations / purchase orders to themselves in order to look at final result, they can't do so because our default chatter protection prevents sending mails to authors themselves. This commit uses 'mail_notify_author' context key and allows users to send mails from the header buttons available on SO / PO / invoices to themselves if they are in recipients. This commit targets only those buttons as this is the main case where we want to allow people to send emails to themselves. In order to avoid side effects no other use case is supported. Task ID-2294130 closes odoo/odoo#55809 X-original-commit: 09918f320ba712b0bd90a6852825fad864655b04 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions