This question has been flagged

I have a module that creates a new invoice, and puts it in the open state. One thing I noticed is the account.invoice residual (balance) field is twice as much as the amount total when the invoice is validated. When I create another invoice through the account invoice form, then the balance is calculated correctly. I even put the same products on the new record. Does anyone know why the balance is calculated differently even though the same data exists on both invoices?

Avatar
Discard

Hy Ericc did you found an answer on this? I have the same issue

Hy Eric, did my answer below helps you? I had the same issue and it solved my problem. If yes, could you accept my answer?

Best Answer

Did you check you account settings. They mustn't be set as customer or suppliers

Avatar
Discard

how will I do that? can you please teach me how?

Hi maybe to late but the answer given by @Mind and Go is the good one. The problem occure when you have a product's account configured as customer or supplyer!

Best Answer

Hi, Got the same problem here? Did you solved this one please really need help??

 

Avatar
Discard

Hi just check your product's account to see. They are surely misconfigured!