I have an issue on a custom system with partner payments and the payment terms.

When I try to validate a payment for invoices and refunds, the system raise this error:

"Erreur!

You cannot validate a non-balanced entry.
Make sure you have configured payment terms properly.
The latest payment term line should be of the "Balance" type."

All the payment terms are correct (balance is the last line), the records that I tried to validate have no payment terms on them, I tried to desactivate all the payment terms but the error is still there.

Julien, I'm afraid I would not be able to help you further. From the log you used pallet-delivery/writeoff_lot_tracking/account.py that I'm not well versed in. My suspicion will be something from that module. I'm also not well versed with l10n_ca_account_check_writing/account_voucher.py, but seeing the code it seems to be "safe" enough as it only writes value to another field. You might want to check this is the "clean" environment containing only Odoo official modules and see if it works.

Hi Ivan, we have finnaly find the solution. If in your journal the constraint "Skip 'Draft' State for Manual Entries" is checked, the system will raise this message if you are want to do a paiement with negative write-off. It wants to validate a non-balanced entry so error message.
Thanks.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just
use the commenting tool. Please remember that you can always revise your answers
- no need to answer the same question twice. Also, please don't forget to vote
- it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines