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.

1

Error with shop module when logging with new registered user

By
David
on 6/2/14, 1:10 PM 1,510 views

HIa I have created a new user with sign in option. But when I'm triying to go to shop menu I'm getting :

 

500: Internal server Error,   with the next error in log:

 openerp.addons.base.ir.ir_model: Access Denied by ACLs for operation: read, uid: 7, model: product.attribute
2014-06-02 17:05:30,898 14594 ERROR MOTOSCOOT_NET openerp.addons.website.models.ir_http: 500 Internal Server Error:

Traceback (most recent call last):
  File "/opt/ODOO8/odoo/addons/website/models/ir_http.py", line 145, in _handle_exception
    return super(ir_http, self)._handle_exception(exception)
  File "/opt/ODOO8/odoo/openerp/addons/base/ir/ir_http.py", line 94, in _handle_exception
    return request._handle_exception(exception)
  File "/opt/ODOO8/odoo/openerp/addons/base/ir/ir_http.py", line 121, in _dispatch
    result = request.dispatch()
  File "/opt/ODOO8/odoo/openerp/http.py", line 549, in dispatch
    r = self._call_function(**self.params)
  File "/opt/ODOO8/odoo/openerp/http.py", line 299, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/ODOO8/odoo/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/ODOO8/odoo/openerp/http.py", line 296, in checked_call
    return self.endpoint(*a, **kw)
  File "/opt/ODOO8/odoo/openerp/http.py", line 664, in __call__
    return self.method(*args, **kw)
  File "/opt/ODOO8/odoo/openerp/http.py", line 348, in response_wrap
    response = f(*args, **kw)
  File "/opt/ODOO8/odoo/addons/website_sale/controllers/main.py", line 167, in shop
    attributes_ids = attributes_obj.search(cr, uid, [], context=request.context)
  File "/opt/ODOO8/odoo/openerp/osv/orm.py", line 1985, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/opt/ODOO8/odoo/openerp/osv/orm.py", line 4629, in _search
    self.check_access_rights(cr, access_rights_uid or user, 'read')
  File "/opt/ODOO8/odoo/openerp/osv/orm.py", line 3611, in check_access_rights
    return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception)
  File "/opt/ODOO8/odoo/openerp/tools/cache.py", line 21, in lookup
    r = self.lookup(self2, cr, *args, **argv)
  File "/opt/ODOO8/odoo/openerp/tools/cache.py", line 49, in lookup
    value = d[key] = self.method(self2, cr, *args)
  File "/opt/ODOO8/odoo/openerp/addons/base/ir/ir_model.py", line 744, in check
    raise openerp.exceptions.AccessError(msg % msg_params)
AccessError: Lo siento, no est\xe1 autorizado para acceder a este documento. S\xf3lo usuarios con los siguientes permisos est\xe1n autorizados a hacer esto:
- Human Resources/Employee
    - Sales/Manager
    - Public

(Modelo de documento: product.attribute)

 

 

Whats wrong?? How the ecommerce client are created?

 

 

 

i'm experiencing the same issue. I get an internal 500 error when trying to create a new frontend-only (ie. public) user using the Sign up option provided. This has been tested on the runbots on the 8.0 release and it is throwing this error. Does anyone have any insight on how to create a local signup option for frontend/public users?

Luke Branch
on 7/7/14, 2:00 AM

Yes, I have the same. I think it's related to portal user instead of public user. Someone with enough knowledge would be welcome to explain more in detail.

Martin Temmink
on 1/15/15, 6:10 PM

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

3 follower(s)

Stats

Asked: 6/2/14, 1:10 PM
Seen: 1510 times
Last updated: 3/16/15, 8:10 AM