Multi Search with comma separated

by
Odoo
v 14.0 Third Party 363
Download for v 14.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 38
Technical Name multi_search_with_comma
LicenseOPL-1
Websitehttp://www.cmstech.com
Versions 12.0 13.0 11.0 14.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 38
Technical Name multi_search_with_comma
LicenseOPL-1
Websitehttp://www.cmstech.com
Versions 12.0 13.0 11.0 14.0
Search for records in bulks on any page/model easily.
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Works on Odoo 12 but not Odoo 14
by
Qaddafi Putra Gary
on 5/27/21, 1:43 AM

Hello, first of all, thank you for this exceptional app it really helps me a lot.
I'm having an issue with the installation for Odoo 14 (totally fine with Odoo 12) could you help me with this error?

2021-05-27 05:36:48,311 13212 ERROR replicate.semiBSA14_okebgt2 werkzeug: Error on request:

Traceback (most recent call last):

  File "C:\Python37\lib\site-packages\werkzeug\serving.py", line 205, in run_wsgi

    execute(self.server.app)

  File "C:\Python37\lib\site-packages\werkzeug\serving.py", line 193, in execute

    application_iter = app(environ, start_response)

  File "C:\odoo14\odoo\service\server.py", line 440, in app

    return self.app(e, s)

  File "C:\odoo14\odoo\service\wsgi_server.py", line 124, in application

    return application_unproxied(environ, start_response)

  File "C:\odoo14\odoo\service\wsgi_server.py", line 99, in application_unproxied

    result = odoo.http.root(environ, start_response)

  File "C:\odoo14\odoo\http.py", line 1295, in __call__

    return self.dispatch(environ, start_response)

  File "C:\odoo14\odoo\http.py", line 1263, in __call__

    return self.app(environ, start_wrapped)

  File "C:\Python37\lib\site-packages\werkzeug\wsgi.py", line 599, in __call__

    return self.app(environ, start_response)

  File "C:\odoo14\odoo\http.py", line 1472, in dispatch

    response = self.get_response(httprequest, result, explicit_session)

  File "C:\odoo14\odoo\http.py", line 281, in __exit__

    elif self.registry:

  File "C:\odoo14\odoo\http.py", line 377, in registry

    return odoo.registry(self.db)

  File "C:\odoo14\odoo\__init__.py", line 104, in registry

    return modules.registry.Registry(database_name)

  File "C:\odoo14\odoo\modules\registry.py", line 65, in __new__

    return cls.new(db_name)

  File "C:\odoo14\odoo\modules\registry.py", line 89, in new

    odoo.modules.load_modules(registry._db, force_demo, status, update_module)

  File "C:\odoo14\odoo\modules\loading.py", line 464, in load_modules

    registry.setup_models(cr)

  File "C:\odoo14\odoo\modules\registry.py", line 276, in setup_models

    model._setup_fields()

  File "C:\odoo14\odoo\models.py", line 2839, in _setup_fields

    field.setup_full(self)

  File "C:\odoo14\odoo\fields.py", line 399, in setup_full

    self._setup_regular_full(model)

  File "C:\odoo14\odoo\fields.py", line 433, in _setup_regular_full

    depends.extend(deps(model) if callable(deps) else deps)

  File "c:\odoo14\addons\crm\models\crm_lead.py", line 416, in <lambda>

    @api.depends(lambda self: ['tag_ids', 'stage_id', 'team_id'] + self._pls_get_safe_fields())

  File "c:\odoo14\addons\crm\models\crm_lead.py", line 1970, in _pls_get_safe_fields

    pls_fields_config = self.env['ir.config_parameter'].sudo().get_param('crm.pls_fields')

  File "C:\odoo14\odoo\addons\base\models\ir_config_parameter.py", line 66, in get_param

    return self._get_param(key) or default

  File "<decorator-gen-63>", line 2, in _get_param


  File "C:\odoo14\odoo\tools\cache.py", line 90, in lookup

    value = d[key] = self.method(*args, **kwargs)

  File "C:\odoo14\odoo\addons\base\models\ir_config_parameter.py", line 71, in _get_param

    params = self.search_read([('key', '=', key)], fields=['value'], limit=1)

  File "C:\odoo14\odoo\models.py", line 4820, in search_read

    records = self.search(domain or [], offset=offset, limit=limit, order=order)

  File "C:\odoo14\odoo\models.py", line 1704, in search

    res = self._search(args, offset=offset, limit=limit, order=order, count=count)

  File "C:\odoo14\odoo\models.py", line 4492, in _search

    query = self._where_calc(args)

  File "c:\odoo14\addons\multi_search_with_comma\models\multi_search.py", line 57, in _where_calc

    return Query(tables, where_clause, where_params)

  File "C:\odoo14\odoo\osv\query.py", line 63, in __init__

    self._tables = {alias: table or alias}

TypeError: unhashable type: 'list' - - -


Please kindly need your assistance, thanks


There are no comments yet!