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?
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
|Asked: 4/2/14, 5:07 PM|
|Seen: 964 times|
|Last updated: 3/16/15, 8:10 AM|