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

[FIX] account: add missing _name_search for account.move.line


The model had name_get, but not _name_search, which leads to difference between
what user sees and what he get as search results.

This patch doesn't fix the issue completly, but adds more search results on
searching just by account move (e.g. invoice) name.

STEPS:

* open menu Analytic Items (account.analytic.line)
* make custom filter *Journal items contains "INV/"* (
`[["move_id","ilike","INV"]]` )

BEFORE: no items found even if you see such analytic items

---

opw-2691495

closes odoo/odoo#87156

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 7314d3b8
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment