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

[LCC_members] impossible to filter by secondary industry and secondary industry not translated in "Activités secondaires" in filter list #160

Open
MatSarr opened this issue Mar 9, 2022 · 0 comments

Comments

@MatSarr
Copy link

MatSarr commented Mar 9, 2022

In new and old app:
`Erreur:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/custom/src/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/custom/src/odoo/odoo/service/model.py", line 98, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 941, in call
return self.method(*args, **kw)
File "/opt/odoo/custom/src/odoo/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/auto/addons/web/controllers/main.py", line 909, in search_read
return self.do_search_read(model, fields, offset, limit, domain, sort)
File "/opt/odoo/auto/addons/web/controllers/main.py", line 931, in do_search_read
offset=offset or 0, limit=limit or False, order=sort or False)
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 4617, in search_read
records = self.search(domain or [], offset=offset, limit=limit, order=order)
File "/opt/odoo/auto/addons/partner_multi_relation/models/res_partner.py", line 164, in search
order=order, count=count)
File "/opt/odoo/auto/addons/partner_contact_in_several_companies/models/res_partner.py", line 64, in search
attached_contact_args)
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 1581, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/opt/odoo/custom/src/odoo/odoo/addons/base/models/res_partner.py", line 751, in _search
count=count, access_rights_uid=access_rights_uid)
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 4149, in _search
query = self._where_calc(args)
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3941, in _where_calc
e = expression.expression(domain, self)
File "/opt/odoo/custom/src/odoo/odoo/osv/expression.py", line 677, in init
self.parse()
File "/opt/odoo/custom/src/odoo/odoo/osv/expression.py", line 1025, in parse
ids2 = [x[0] for x in comodel.name_search(right, domain or [], op2, limit=None)]
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 1663, in name_search
return self._name_search(name, args, operator, limit=limit)
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 1676, in _name_search
ids = self._search(args, limit=limit, access_rights_uid=access_rights_uid)
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 4145, in _search
if expression.is_false(self, args):
File "/opt/odoo/custom/src/odoo/odoo/osv/expression.py", line 227, in is_false
elif token[1] == 'in' and not token[2]:
IndexError: string index out of range`

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

No branches or pull requests

2 participants