Skip to content
Snippets Groups Projects
Commit 23d7cb7b authored by Adrien Widart's avatar Adrien Widart
Browse files

[REV] account: reverse entry when account move line contains 0 in credit or debit


This fix partly reverts the commit db691dbe
The latter is fully reverted in v13: 6a5271b7

When having an invoice with total equals to 0, it still adds a line to
the follow-up report.

To reproduce the error:
1. Go to Accounting > Customers > Invoices
2. Create an invoice without Payment Terms and product at 0$ to have a total of 0$
3. Go to Accounting > Customers > Follow-up Reports > [Select the partner]
4. The invoice is present with a total due of 0$

Err: the invoice shouldn't be in the follow-up report.

OPW-2419268

closes odoo/odoo#64214

Signed-off-by: default avatarAdrien Widart <adwid@users.noreply.github.com>
parent 874d0a63
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