diff options
| author | Thibault Delavallee <tde@openerp.com> | 2013-03-12 14:38:17 +0100 |
|---|---|---|
| committer | Thibault Delavallee <tde@openerp.com> | 2013-03-12 14:38:17 +0100 |
| commit | d7e5763dcb444a5cda4c9466e87efc7bb9aa19bf (patch) | |
| tree | a024f5a180b7782ae03fb86d435604c2f7c11c3a /addons/mail/wizard/mail_compose_message.py | |
| parent | 99063b421f99966c7960e493dff32a24e3e2143c (diff) | |
[IMP] mail, email_template: improved mass mailing action (renamed, now using a well defined template) + improved form view of mail.compose.message wizard.
bzr revid: tde@openerp.com-20130312133817-y9xztv6gs4ut7ndj
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index 9a84e1b31fc..57daaf15a5e 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -127,6 +127,7 @@ class mail_compose_message(osv.TransientModel): _defaults = { 'composition_mode': 'comment', + 'email_from': lambda self, cr, uid, ctx={}: self.pool.get('mail.mail')._get_default_from(cr, uid, context=ctx), 'body': lambda self, cr, uid, ctx={}: '', 'subject': lambda self, cr, uid, ctx={}: False, 'partner_ids': lambda self, cr, uid, ctx={}: [], |
