Normal workflow: Create a sales order, have the customer pay a 10% advance, then process the rest of the flow. My workflow: Have the customer pay a 10% advance, then after he pays create a sales order, process the rest of the flow and subtract the advance payment from the invoice. The problem: because the advance isn't linked to the sales order, the sales order stays in status 'invoice exception'
The reason for my workflow: As long as the customer doesn't pay the advance, I do not start his project in my calculating software. So only after he pays, I will start a new project, then I do an export (custom interface) from my calculating software to OpenERP and automatically a sales order (and some other cool stuff) is then created in OpenERP. So, for my accounting, I need to create an advance invoice manually in OpenERP.
How can I set the sales order to 100% paid and avoid the invoice exception? My workflow can 't be changed.
Create and validate a Customer Payment for the 10% - no credit lines, just the amount and the journal.
Create the Sales Order, confirm it, deliver it, invoice it (for the full amount).
Create a Customer Payment for $0 - once validated the 10% will automatically be applied to the open balance, bringing it down to 90%.
Customize the Invoice report (account_print_invoice.rml) to show the OPEN balance.
Prior payment(s) of [[ formatLang(o.amount_total - o.residual, digits=2, currency_obj=o.currency_id) ]] have been applied to this invoice
<font color="white"> </font>
Remaining balance due: [[ formatLang(o.residual, digits=2, currency_obj=o.currency_id) ]]
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: 2/7/14, 9:17 AM|
|Seen: 1942 times|
|Last updated: 3/16/15, 8:10 AM|