Odoo Help


Error occuring while creating user in openerp7.0

on 7/19/13, 5:09 AM 1,882 views

I have upgraded my openerp version to 7.0 . And everything works fine.Now I tried to create an user from 'setting->users'

I got an error relating to mail sending. I have also configured the outgoing mail server in it.

When I tried to create user I got the below error.

Client Traceback (most recent call last): File "/home/anil/openerp7/web/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *self.params) File "/home/anil/openerp7/web/addons/web/controllers/main.py", line 1128, in call_kw return self._call_kw(req, model, method, args, kwargs) File "/home/anil/openerp7/web/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/home/anil/openerp7/web/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/home/anil/openerp7/web/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/home/anil/openerp7/web/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/home/anil/openerp7/web/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/anil/openerp7/server/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/anil/openerp7/server/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, params) File "/home/anil/openerp7/server/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/home/anil/openerp7/server/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/home/anil/openerp7/server/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/home/anil/openerp7/server/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/home/anil/openerp7/addons/auth_signup/res_users.py", line 280, in create self.action_reset_password(cr, uid, [user.id], context=ctx) File "/home/anil/openerp7/addons/auth_signup/res_users.py", line 267, in action_reset_password mail_id = self.pool.get('email.template').send_mail(cr, uid, template.id, user.id, True, context=context) File "/home/anil/openerp7/addons/email_template/email_template.py", line 379, in send_mail assert values.get('email_from'), 'email_from is missing or empty after template rendering, send_mail() cannot proceed' AssertionError: email_from is missing or empty after template rendering, send_mail() cannot proceed

i think there some configuration problem in outgoing email server.... check again outgoing mail server...

Ali Ravani
on 7/19/13, 5:27 AM

outgoing mail server is working. I have checked it from the messaging section

on 7/19/13, 6:51 AM

Yes I solved this issue by install Jinja2

on 7/19/13, 7:53 AM

This solved my problem also (sudo apt-get install python-jinja2)

Ray Carnes
on 8/21/13, 6:54 PM
On 7/19/13, 9:40 AM

This probably caused by the fact, that the Company of this user has not set its e-mail address.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/19/13, 5:09 AM
Seen: 1882 times
Last updated: 3/16/15, 8:10 AM