Community mailing list archives

community@mail.odoo.com

Re: How to disable invoince number in the invoice pdf

by
BAKAGNA
- 08/21/2015 04:46:57
Hi Hans,
in fact the second option is the best one.
This is the invoice code i removed:

# to avoid printing the invoice reference in the pdf report for invoice's open or paid state
<span t-if="o.type == 'out_invoice' and (o.state == 'open' or o.state == 'paid')">Invoice</span>
 <span t-field="o.number"/>

Rgds.

2015-08-21 8:18 GMT+00:00 Hans Yonathan <hans.yonathan@falinwa.com>:

Hi Cyrille,

 

You can print it on draft invoice or proforma invoice, so the system will not print the invoice number,

Or you can edit the qweb and remove the code that display the invoice number.

 

The second option is the best one.

 

Thank You.

 

Best Regards,

Hans Yonathan

Odoo Support

FALINWA Limited

Expert in Finance, Information System & Business Intelligence

Odoo Silver Partner

Website: www.falinwa.com

Tel. 13670137019 (China - Shenzhen)

 

From: Cyrille Roméo BAKAGNA [mailto:syrylbakagna@gmail.com]
Sent: Friday, August 21, 2015 4:13 PM
To: Community <community@mail.odoo.com>
Subject: How to disable invoince number in the invoice pdf

 

Hi dears,

i would like to disable the invoice number when printing out the invoice.

In fact my customer has a pre-printed  physical invoices with a seqence number.

So he wants just use odoo invoice numbering sequence as an internal reference and don't want it to appear in the custumer invoice since it is no necessary for that customers.

 

 Thanks in advance.

--

Cyrille R. BAKAGNA

Mobile 00225   07 96 96 70

               05 05 77 20

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--

Cyrille R. BAKAGNA

Mobile 00225   07 96 96 70

               01 02 76 77

               05 05 77 20