ODT Tags

Hi All,

I am a favorite user of Dolibarr on a Fedora Linux server. Installation was piece of cake and configuring Dolibarr was the same simple.

Now…, I am not a programmer, but I know my way around programms and what makes them tik! I also know how to change php files and have logic understanding what they do.

I have made my invoice with Libre Office and used the tags as described in the wiki.
http://wiki.dolibarr.org/index.php/Create_an_ODT_document_template
This was already very helpfull, but I am still looking for a tag that I can put in my ODT invoice template that will tell the due date of my invoice.

Anybody?

Thanks in advance for help

1 Like

This information is available with tag object_date_limit but with version 3.2 (still in dev, released planned in june).

Hi im new to Dolibarr. I am also german and its hard for me to understand what anyone is writing here. I need to know how i can make a invoice-template.

An example will be very helpfull. Can anyone attach a readymade template?

Thanks

Christian Huber

Thanks for the info. I will wait for the release in June.
Meanwhile I have another tag that I am looking for. In NL it is for some invoices necessary that we supply the “BSN number” on the invoice. I would like to see a tag for that to. Is that a possibility?

Thanks in advance for your help!

The program is great easy but sophisticated. My compliments.

PS: from compliments nobody can eat. I will put a nice donation!

Best regards.

What kind of template are you looking for? I can help with a invoice ODT template. Than you can put that side by side with the following page:

http://wiki.dolibarr.org/index.php/Create_an_ODT_document_template

And when you have this page side by side with my template it will come clear.

It is really no ‘rocket sience’.

For BSN into ODT, try to use
{company_idprof4}
or
{mycompany_idprof4}

However, not sure this is in 3.1.1, may be in 3.2 only. Just try.

Thanks for the info. I will try and let you know.

One more further question of importance.

How can I change payment due. I would like to add payment due in 14 days and 5 days. How can I do that?

Thanks again.

Again. I keep repeating myself, can’t help it…, It is a great program. This modular system is very clever!

Sorry for asking already found it. As I said the program is put together very clever and intuitive.

Hi,

I am using {object_date_limit}, but it also specifies time as “00:00” and on an invoice I want customers to pay before a certain date not time. That is totally out of perspective. Is there a way for me to change this behaviour? I know it is planned for version 3.2, but is there a way for me to alter this easy already or am I to impatient?

Thanks in advance.

Regards
Edwin

PS: it was {company_idprof4} for BSN. Jippie!

This is fixed into 3.2 beta.
To change this in 3.1.1, change line
‘object_date_limit’=>dol_print_date($object->date_lim_reglement,‘dayhour’),
into
‘object_date_limit’=>dol_print_date($object->date_lim_reglement,‘day’),

into file
doc_generic_invoice_odt.modules.php

Perfect thanks for the assistance. Works like a charm!