Skip to content
Snippets Groups Projects
Commit d005fd85 authored by Guillaume (guva)'s avatar Guillaume (guva)
Browse files

[FIX] account_check_printing: print check from expense


When printing a check that comes from an expense,
the check has no reference to the move from which
the payment has been created.

The reason is that we filter the move by taking
only outbounds to complete the check informations,
but moves from an expense are of type entry.

With this commit, we allow moves coming from
expense to be taken into account by adding a
check on line_ids.expense_id.

opw-3044141

closes odoo/odoo#104493

Signed-off-by: default avatarJohn Laterre (jol) <jol@odoo.com>
parent e53f7ef1
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