Skip to content
Snippets Groups Projects
Commit 8966d802 authored by Ivan Yelizariev's avatar Ivan Yelizariev
Browse files

[FIX] account: keep original domain in aml's _name_search


Model `account.move.line` has extended `_name_search` to clarify `ilike` search.
However, the new domain replaces original domain, instead of making a friendship.

STEPS:
* add custom Many2one field to any form (e.g. SO)
* add domain for the field, e.g. ` [["parent_state", "!=", "draft"]]`
* try quick search for the new field

opw-3037878

closes odoo/odoo#105534

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent a6e8e0f6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment