Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community_send_notification is breaking creation of Back Office users #51

Open
KaloyanNaumov opened this issue Oct 25, 2016 · 1 comment

Comments

@KaloyanNaumov
Copy link

when the community_send_notification module is installed, the Administrator cannot create users from the Back Office.

The workaround is that you can register a user from the Portal and can then upgrade it to Back Office user.

The exception is:
Traceback (most recent call last): File "/opt/odoo8/odoo/openerp/http.py", line 544, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo8/odoo/openerp/http.py", line 581, in dispatch result = self._call_function(**self.params) File "/opt/odoo8/odoo/openerp/http.py", line 317, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo8/odoo/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo8/odoo/openerp/http.py", line 314, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo8/odoo/openerp/http.py", line 810, in __call__ return self.method(*args, **kw) File "/opt/odoo8/odoo/openerp/http.py", line 410, in response_wrap response = f(*args, **kw) File "/opt/odoo8/odoo/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo8/odoo/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/odoo8/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo8/odoo/addons/base_action_rule/base_action_rule.py", line 188, in create new_id = create.origin(self, cr, uid, vals, context=context, **kwargs) File "/opt/odoo8/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo8/odoo/addons/auth_signup/res_users.py", line 306, in create self.action_reset_password(cr, uid, [user.id], context=context) File "/opt/odoo8/odoo/openerp/api.py", line 268, in wrapper return old_api(self, *args, **kwargs) **File "/opt/odoo8/extra/vertical-community/community_send_notification/notification.py", line 176, in action_reset_password self.pool.get('email.template').send_mail(cr, uid, template_id.id, user.id, force_send=False,raise_exception=True, context=context) AttributeError: 'bool' object has no attribute 'id'**

@Yakulu
Copy link

Yakulu commented Nov 17, 2016

I took a look but can not reproduce your issue. I can create users, change their password.... with a fresh setup and community_send_notification module installed. Can you provide a list of your installed modules, and from which repositories they come ?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants