Skip to content
Snippets Groups Projects
Commit 68d71b8e authored by Lucas Perais (lpe)'s avatar Lucas Perais (lpe)
Browse files

[FIX] account: reconciliation widget fetch correct reconciliation models


Have a reconciliation model that applies to some particular journals
And that will match some of those journals' lines
The field journal should be filled too
(this field is only the default journal that a proposition will be filled with)

Open the reconciliation widget on a given journal, within the list of
possible journal (from the account dashboard)

Before this commit there was a crashed. This was caused by the fact that
one of the lines that should be displayed had a reconcile model that was not fetched beforehand

After this commit, there is no crash as all relevant reconcile
models are fetched

Note that, on reconcile models, the field journal_id is just there to prefill
the propositions it will create

corrects commit e5c80714

OPW 2084942

closes odoo/odoo#38726

Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
parent 3fdf3b15
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