Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
We are running OpenERP 7 on our server. Our company collects a 50% deposit from all customers with the remainder due once the product is delivered.
On an invoice we would like there to be 2 additional lines.
One showing a total of all payments against that invoice And a final line showing the balance owing.
Any help would be of great assistance.
An example RML code block to do this is something like:
<blockTable colWidths="365.0,90.0,75.0" style="Table10"> <tr> <td> <para style="terp_default_8"> <font color="white"> </font> </para> </td> <td> <para style="terp_default_9">Payment(s): </para> </td> <td> <para style="terp_default_Right_9"> [[ formatLang(-(o.amount_total - o.residual), digits=2, currency_obj=o.currency_id) ]] </para> </td> </tr> <tr> <td> <para style="terp_default_8"> <font color="white"> </font> </para> </td> <td> <para style="terp_default_9"> <b>Total Due:</b> </para> </td> <td> <para style="terp_default_Right_9"> <b> [[ formatLang(o.residual, digits=2,currency_obj=o.currency_id) ]]</b> </para> </td> </tr> </blockTable>
PRIOR to any payments being made, the invoice report would look like this:
AFTER a payment of $250, the invoice report would look like this:
You also need to make sure the report is regenerated, not reloaded. For more information see https://accounts.openerp.com/forum/Help-1/question/9571
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 platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/7/14, 10:55 AM|
|Seen: 8790 times|
|Last updated: 9/19/16, 5:12 PM|