[REF] ir_actions: propagated res.users field name change (user_email -> email).

bzr revid: tde@openerp.com-20120810082344-yr9fptnyz6adgxya
This commit is contained in:
Thibault Delavallée 2012-08-10 10:23:44 +02:00
parent 377e883452
commit 266c650b62
1 changed files with 2 additions and 2 deletions

View File

@ -625,8 +625,8 @@ class actions_server(osv.osv):
if not email_from:
_logger.debug('--email-from command line option is not specified, using a fallback value instead.')
if user.user_email:
email_from = user.user_email
if user.email:
email_from = user.email
else:
email_from = "%s@%s" % (user.login, gethostname())