Odoo Help

0

How to display balance on invoice

By
Chirag
on 1/12/15, 9:23 AM 885 views

Hello,

 

I am in process of customising our invoice is there any way i can display invoice balance that is due? Odoo V8
 

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')"

Chirag
on 1/12/15, 12:13 PM

See my updated answer

Zbik
on 1/12/15, 1:52 PM
0

Zbik

--Zbik--
6293
| 6 4 7
Lodz, Poland
--Zbik--


Zbik
On 1/12/15, 9:47 AM

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.

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

Question tools

1 follower(s)

Stats

Asked: 1/12/15, 9:23 AM
Seen: 885 times
Last updated: 3/16/15, 8:10 AM