summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2016-09-19 12:54:58 +0200
committerOlivier Dony <odo@openerp.com>2016-10-03 19:03:50 +0200
commit0b87f7662892d60e03f1016e4150d53aef979a06 (patch)
tree5dec52d7b1035e2f51ed7cb3c48c1ffd118ae04f /addons/web_editor/static/src/xml
parent0ea7842c5e0c0c9322e4238b693dcb91f12913f3 (diff)
[IMP] mail: separate management of mail routes from redirection
Move code related to redirection in its own class method. This way all controllers perform their own actions and checks before calling the redirection itself. Moreover it is necessary for some controllers to be able to call the redirection independently outside of the mail/view controller scope. This commit also fixes some links generated for mail notification email buttons. Assign and (un)follow buttons now effectively use the link helper when generating the associated URL instead of manually crafting it. Custom routes for notification buttons used in HR and CRM are added. Indeed in order to be able to fine-tune the behavior called by those buttons, using dedicated controllers is simpler than trying to use a generic one. As there are few custom buttons in notification emails using dedicated controllers does not lead to a code overhead.
Diffstat (limited to 'addons/web_editor/static/src/xml')
0 files changed, 0 insertions, 0 deletions