Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

how to list partial payment invoices' numbers in the final invoice's rows?

By
Вихрен Кънев
on 5/16/14, 10:31 AM 1,041 views

Let's assume we have a sale order and an invoice for this sale order for a partial payment and the invoice has it's number and is paid.

When creating invoice for the remaining amount the invoice has:

1 row in which is the full amount of the sale

1 row in which is described the partial payment (e.g. "advance payment 50%" or "advance payment 2000Euro" or "advance payment for some product"). (sometimes it's possible to have more than 1 rows like this)

We need to have in every row, describing payment in advance, the number and the date of the invoice for the current partial payment.

Is there any way to achieve this?

 

After some digging in the python code I have found that the lines in the invoice for advance payment are created during the process of invoice creation. The invoice is created in "draft" status when there is no number given. When creating an invoice for the final payment on the sale order, OpenERP lists the lines in all invoices for advanced payment.

I think that it will be possible to change this and I'll try to find where should the replacement of the listing of all lines with listing just invoices with their amounts should happen.

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

Question tools

1 follower(s)

Stats

Asked: 5/16/14, 10:31 AM
Seen: 1041 times
Last updated: 3/16/15, 8:10 AM