Skip to content
Snippets Groups Projects
Commit 2741f245 authored by Stéphane Bidoul's avatar Stéphane Bidoul
Browse files

[IMP] account: avoid join when filtering on journal


account.move.line has a journal_id field that is related on move_id.journal_id.
By searching on journal_id we avoid a useless join,
offering more room for database query optimizations.

closes odoo/odoo#81797

Signed-off-by: default avatarQuentin De Paoli <qdp@odoo.com>
parent e67fe3d1
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