Odoo Help

Welcome!

This community 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.

0

Error occuring while creating user in openerp7.0

By
Aneesh
on 7/19/13, 5:09 AM 1,374 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

Aneesh
on 7/19/13, 6:51 AM

Yes I solved this issue by install Jinja2

Aneesh
on 7/19/13, 7:53 AM

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

Bista Solutions US, Ray Carnes
on 8/21/13, 6:54 PM
0
Hulshof
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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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