Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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: 127.0.0.1 - - [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?.
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".
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/23/15, 12:15 AM|
|Seen: 1172 times|
|Last updated: 6/27/16, 2:52 AM|