summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2012-01-04 13:49:52 +0100
committerVo Minh Thu <vmt@openerp.com>2012-01-04 13:49:52 +0100
commitfc738e803eb2d468ca37ab6b3ca8269b8e7db45f (patch)
treed4d7635a5b0d1668d3662168cb5b654ba3ccf35d
parentfd5ad1bb4f443a9d1bed228c221c8834f330ea53 (diff)
parent578410ae9f9c1fe59221445e2eafae5ac89ab158 (diff)
[MERGE] res.users.email is really res.users.user_email.
bzr revid: vmt@openerp.com-20120104124952-nedgq9h2jg132b18
-rw-r--r--openerp/addons/base/publisher_warranty/publisher_warranty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/addons/base/publisher_warranty/publisher_warranty.py b/openerp/addons/base/publisher_warranty/publisher_warranty.py
index 1d9d438b061..812a2b054c0 100644
--- a/openerp/addons/base/publisher_warranty/publisher_warranty.py
+++ b/openerp/addons/base/publisher_warranty/publisher_warranty.py
@@ -86,7 +86,7 @@ class publisher_warranty_contract(osv.osv):
db_create_date = self.pool.get('ir.config_parameter').get_param(cr, uid, 'database.create_date')
user = self.pool.get("res.users").browse(cr, uid, uid)
user_name = user.name
- email = user.email
+ email = user.user_email
msg = {'contract_name': valid_contract.name,
'tb': tb,