[13.0] web_advanced_search: "Search more" with string on custom filter does nothing

Open
#3,151 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, python
Domain
frontend

Research direction

The report identifies the web_advanced_search module and the many-to-one custom filter flow, but names no files or tests. Start by locating that module’s filter and “Search more” entry points, then reproduce the issue in Odoo 13. Done when selecting a record in the popup applies the matching filter.

Written by the indexing model from the issue text.

Description

bug

Module

web_advanced_search

Describe the bug

When a record is selected after introducing some text and clicking "Search more" on a "is equal to" condition, the popup closes but the filter is not applied.

To Reproduce

Affected versions: 13.0

Steps to reproduce the behavior:

  1. Open the "Add Custom Filter" section on filters
  2. Select a M2O field (such as "Partner" on invoices)
  3. Choose the "Is equal to" condition
  4. Type something in the search box to filter the available records, inclusive enough for the "Search more" option to show up
  5. Click on "Search more" to open the popup window
  6. Choose any record

Expected behavior
The popup should close and the filter should be applied, showing me only the records whose partner matches the one I chose

Additional context
The popup closes but no filter is applied

Dominant language
JavaScript
Stars
1.2k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
30

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OCA/web

All issues in OCA/web

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.