diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-05-22 14:49:30 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-05-22 14:49:30 +0200 |
| commit | f6326c69176e2fe2369d12dfc73e93deadc5dbbd (patch) | |
| tree | ad45742e6d459ca00d39e08824a846fe59883017 /addons/document_webdav/webdav_setup.xml | |
| parent | 978c76c5ea6bf16f7db2f94630ceb4b27caec037 (diff) | |
| parent | 6b572b8d9089403a7ea4c54ff31a72dccfd78a8f (diff) | |
[MERGE] [IMP] mail: improved management of links in notification emails.
A new server action is defined that handles the redirection. If the user has access to the document, it opens the form view of the document. A method is called that allows to define the form view to open in some specific models (such as lead/opportunities). If the user has no access to the document, it opens the inbox, filtered on the discussion. The inbox opened is different for employees and portal users.
This server action is called by the link included in notification emails. This way the redirection Inbox/document is done dynamically at login, and not statically when generating the email.
Added tests.
bzr revid: tde@openerp.com-20130522124930-21tgj52v83hw8cj0
Diffstat (limited to 'addons/document_webdav/webdav_setup.xml')
0 files changed, 0 insertions, 0 deletions
