diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-10-18 10:51:09 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-10-18 13:57:02 +0000 |
| commit | dcec209805e58208eda50eb929b5355bc28fc05b (patch) | |
| tree | 8f90ad98f5ef2566a2e9413ceef027460e8a0646 /addons/web/static/src/js/fields | |
| parent | 7edcbfec389da5ba613f7ec0607e05224bc39052 (diff) | |
[FIX] mass_mailing: fix tracking link creation in mass mailing
When using only mass mailing two issues arise when trying to send mass
mailings containing links
* a link.tracker is created for each link to shorten; however rights are
given currently only in website_links for website designers and not to
marketing users that use mass mailing. This commit adds the rights for
link.tracker model to those people;
* a link.tracker.code is created to hold the shortened versions of the
links. As it is a technical model it is now done as superuser as rights
on link.tracked model has already been granted and adding rights on such
a technical model is not necessary;
A test is added that checks what is done with links when sending mass
mailings. It helped spotting the hereabove issue.
This commit is linked to task ID 1889703 and PR #27526.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
