Odoo Help


How to differentiate a portal user from normal users?

on 1/23/15, 12:15 AM 1,944 views

Hi all,

In the Users,there are some users appears.Among them i created a portal user by enable the "Portal" in the Access Rights tab.In the list view how can i know the specific user is a portal user or not?

In the Advanced view,if i search "portal is True" then i get the following error:

2015-01-23 04:54:27,130 3475 INFO Master werkzeug: - - [23/Jan/2015 04:54:27] "POST /web/dataset/call_kw HTTP/1.1" 200 -
2015-01-23 04:54:27,170 3475 ERROR Master openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  File "/opt/openerp/v7.0/server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/v7.0/server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/v7.0/server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/v7.0/server/openerp/osv/orm.py", line 2366, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/opt/openerp/v7.0/server/openerp/osv/orm.py", line 4868, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/opt/openerp/v7.0/server/openerp/osv/orm.py", line 4697, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/opt/openerp/v7.0/server/openerp/osv/expression.py", line 642, in __init__
    self.parse(cr, uid, context=context)
  File "/opt/openerp/v7.0/server/openerp/osv/expression.py", line 806, in parse
    raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'in_group_89' in leaf "<osv.ExtendedLeaf: ('in_group_89', '=', True) on res_users (ctx: )>"
2015-01-23 04:54:27,170 3475 ERROR Master openerp.netsvc: Invalid field 'in_group_89' in leaf "<osv.ExtendedLeaf: ('in_group_89', '=', True) on res_users (ctx: )>"


How can i resolve this error? Is there a way to identify in list view?.


Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
| 5 5 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 1/23/15, 4:26 AM

Your code is out-of-sync.  So, I would advice you to update your OpenERP/odoo code.
Also, this issue has been resolved.  For more info: https://bugs.launchpad.net/openobject-server/+bug/1114949

To search for Portal users, you could try groups contains "Portal".

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

3 follower(s)


Asked: 1/23/15, 12:15 AM
Seen: 1944 times
Last updated: 9/13/17, 6:30 AM