projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db1596f
)
[FIX]: base: Put proper default value for getting user's email address (onchange...
author
rpa (Open ERP)
<rpa@tinyerp.com>
Mon, 19 Jul 2010 13:27:54 +0000
(18:57 +0530)
committer
rpa (Open ERP)
<rpa@tinyerp.com>
Mon, 19 Jul 2010 13:27:54 +0000
(18:57 +0530)
bzr revid: rpa@tinyerp.com-
20100719132754
-u3rtifwypt8s3bmk
bin/addons/base/res/res_user.py
patch
|
blob
|
history
diff --git
a/bin/addons/base/res/res_user.py
b/bin/addons/base/res/res_user.py
index
b4e4bd1
..
59351b8
100644
(file)
--- a/
bin/addons/base/res/res_user.py
+++ b/
bin/addons/base/res/res_user.py
@@
-295,7
+295,7
@@
class users(osv.osv):
def _get_email_from(self, cr, uid, ids, context=None):
if not isinstance(ids, list):
ids = [ids]
- res = dict.fromkeys(ids)
+ res = dict.fromkeys(ids, False)
for user in self.browse(cr, uid, ids, context=context):
if user.user_email:
res[user.id] = "%s <%s>" % (user.name, user.user_email)