Hi community, I got an issue and need guidance urgently. I installed Odoo v8 recently, and when I installed t\he school module from this link, I can't create new users anymore, and it comes back the error information. Can anyone tell me what's the problem and how to get it sorted out? Cheers
Software Server Error
Traceback (most recent call last): File "/opt/Software/Software-server/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/Software/Software-server/openerp/http.py", line 574, in dispatch result = self._call_function(**self.params) File "/opt/Software/Software-server/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/Software/Software-server/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/Software/Software-server/openerp/http.py", line 307, in checked_call return self.endpoint(*a, **kw) File "/opt/Software/Software-server/openerp/http.py", line 803, in __call__ return self.method(*args, **kw) File "/opt/Software/Software-server/openerp/http.py", line 403, in response_wrap response = f(*args, **kw) File "/opt/Software/Software-server/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/Software/Software-server/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/Software/Software-server/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/Software/Software-server/openerp/api.py", line 372, in old_api result = method(recs, *args, **kwargs) File "/opt/Software/custom/addons/EduERPv8/school/school.py", line 784, in create res = super(res_users, self).create(vals) File "/opt/Software/Software-server/openerp/api.py", line 266, in wrapper return new_api(self, *args, **kwargs) File "/opt/Software/Software-server/openerp/api.py", line 508, in new_api result = method(self._model, cr, uid, *args, **old_kwargs) File "/opt/Software/Software-server/addons/auth_signup/res_users.py", line 306, in create self.action_reset_password(cr, uid, [user.id], context=context) File "/opt/Software/Software-server/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/Software/Software-server/addons/auth_signup/res_users.py", line 295, in action_reset_password self.pool.get('email.template').send_mail(cr, uid, template.id, user.id, force_send=True, raise_exception=True, context=context) File "/opt/Software/Software-server/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/Software/Software-server/addons/email_template/email_template.py", line 558, in send_mail values = self.generate_email(cr, uid, template_id, res_id, context=context) File "/opt/Software/Software-server/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/Software/Software-server/openerp/api.py", line 399, in old_api result = method(recs, *args, **kwargs) TypeError: generate_email() takes exactly 3 arguments (2 given)
Software Server Error
Traceback (most recent call last): File "/opt/Software/Software-server/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/Software/Software-server/openerp/http.py", line 574, in dispatch result = self._call_function(**self.params) File "/opt/Software/Software-server/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/Software/Software-server/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/Software/Software-server/openerp/http.py", line 307, in checked_call return self.endpoint(*a, **kw) File "/opt/Software/Software-server/openerp/http.py", line 803, in __call__ return self.method(*args, **kw) File "/opt/Software/Software-server/openerp/http.py", line 403, in response_wrap response = f(*args, **kw) File "/opt/Software/Software-server/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/Software/Software-server/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/Software/Software-server/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/Software/Software-server/openerp/api.py", line 372, in old_api result = method(recs, *args, **kwargs) File "/opt/Software/custom/addons/EduERPv8/school/school.py", line 784, in create res = super(res_users, self).create(vals) File "/opt/Software/Software-server/openerp/api.py", line 266, in wrapper return new_api(self, *args, **kwargs) File "/opt/Software/Software-server/openerp/api.py", line 508, in new_api result = method(self._model, cr, uid, *args, **old_kwargs) File "/opt/Software/Software-server/addons/auth_signup/res_users.py", line 306, in create self.action_reset_password(cr, uid, [user.id], context=context) File "/opt/Software/Software-server/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/Software/Software-server/addons/auth_signup/res_users.py", line 295, in action_reset_password self.pool.get('email.template').send_mail(cr, uid, template.id, user.id, force_send=True, raise_exception=True, context=context) File "/opt/Software/Software-server/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/Software/Software-server/addons/email_template/email_template.py", line 558, in send_mail values = self.generate_email(cr, uid, template_id, res_id, context=context) File "/opt/Software/Software-server/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/Software/Software-server/openerp/api.py", line 399, in old_api result = method(recs, *args, **kwargs) TypeError: generate_email() takes exactly 3 arguments (2 given)