Hello,
I am in process of customising our invoice is there any way i can display invoice balance that is due? Odoo V8
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I am in process of customising our invoice is there any way i can display invoice balance that is due? Odoo V8
Yes. You print value:
invoice.amount_total - invoice.residual
in Qweb invoice report view, try like this
<span t-esc="o.amount_total - o.residual"/>
but ...note!!!.... that this value can be different in different moments of print! If you want to get always the same (start) value, you need to make python code customisation.
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Zbik, I cannot seem to get it to calculate it displays an error QWebException: "unexpected EOF while parsing ('', 1, 31, '(invoice.amount_total - invoice')" while evaluating "translate_doc(doc_id, doc_model, 'partner_id.lang', 'account.report_invoice_document')"
See my updated answer