summaryrefslogtreecommitdiff
path: root/addons/mail/controllers/__init__.py
AgeCommit message (Collapse)Author
2019-09-30[FIX] web, mail: move admin login warning to mailXavier Morel
Fixes #33254: * was in mail despite using mail.channel (which breaks if mail is not installed, and web doesn't depend on mail) * changes to sudo() broke previous behaviour (of having odoobot message the admin, we ended up with the admin messaging themselves) so fix that * also get the channel and message with the user's context, otherwise since we're during the login procedure the context could be as little as just the lang from the browser and apparently channel_get automatically creates a translation which would break if the browser's lang is not installed in Odoo closes odoo/odoo#37580 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2015-09-01[MOV] mail, im_chat : move files and code from im_chat to mail and busJérome Maes
- im_chat.session will be replaced by mail.channel - im_chat.shortode is renamed into mail.shortcode - im_chat.presence is moved to bus module - js and controller code is moved from im_chat to mail module This commit only move files, and modify manifests, bundles, ... The code will be adapt in the next commits.
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2012-12-11[IMP] web: move controler download_attachment into mail.Christophe Matthieu
bzr revid: chm@openerp.com-20121211145343-jhjj9sohn2shkbt9