Skip to content
Snippets Groups Projects
Commit fcb4c5be 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#105572

X-original-commit: 8966d802
Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 68826232
No related branches found
No related tags found
No related merge requests found
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