Odoo Help


Is it possible to add the word "PAID" anywhere on the paid invoices when I print them as PDF?

Orlando Campos
on 11/16/16, 8:48 PM 786 views

Is it possible to add the word "PAID" anywhere on the paid invoices when I print them as PDF?

The thing is that I want to add the word PAID anywhere when I print the paid invoices as PDF.  Maybe there is a way to modify the template for this?

This for odoo online version. BTW

Thanks! ;)

HERMATIX, Orlando Campos
on 11/16/16, 8:52 PM

Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 11/17/16, 1:41 PM

1. Create a new QWEB view that inherits and overrides the standard Invoice report.  Do this via Settings --> Technical --> User Interface --> Views

2. Add the following to the ARCHITECTURE FIELD:

<p t-if="o.comment"  position="before">
 <t t-set="paid_total" t-value="- o.amount_total + o.residual"/>
  <div class="row">
<div class="col-xs-4 pull-right">
<table class="table table-condensed">
<tr class="border-black">
<td><strong>Less Payments</strong></td>
<td class="text-right">
<span t-esc="paid_total"
t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>
  <tr class="border-black">
<td><strong>Open Balance</strong>
<td class="text-right">
<span t-field="o.residual"
t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>

3. Make sure RELOAD FROM ATTACHMENT is not checked in the Report Definition.  Find it at Settings --> Technical --> Actions --> Reports.

4. The Invoice Report will then look like this:

EDIT: To add the words PAID, add this at the end of the XML in the ARCHITECTURE field (where is has <!-- OPTIONALLY INSERT WORDS HERE -->)

<span t-if="o.residual == 0">PAID IN FULL</span>

Thanks for your answer Ray Carnes, but I'm not sure If this is what I need it. I need the word "PAID" present when I print a paid invoice as PDF... This word "PAID" should be big. Because sometimes my clients asks to send the invoice again with that label (PAID).

And on the step 4 of your steps I cant see the word "PAID".

HERMATIX, Orlando Campos
on 11/18/16, 2:49 PM

See my edit.

Ray Carnes
on 11/18/16, 3:50 PM

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.


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)


Asked: 11/16/16, 8:48 PM
Seen: 786 times
Last updated: 11/17/16, 1:41 PM