Hi all, Another question, or request I shoud say, is : when you choose an ODT template for your invoice, you get an ODT invoice form, not a PDF one. Most of Dolibarr users are not willing to send ODT editable files, they prefer the PDF format for these sendings.
The current workaround consists in generating the PDF version by yourself, upload it in Dolibarr, associated with the invoice and send it (the way you want). Might it be possible, in a future release, to have this deliverable PDF file automatically generated by Dolibarr ? (If yes, I'm adding it to Doliforge feature request right away). Best regards, Manuel PINTOR ----- Mail original ----- De: "i.d & l" <[email protected]> À: [email protected] Envoyé: Samedi 3 Mars 2012 18:40:31 Objet: ODT templates : some questions Hi all, Following a discussion initiated on the "Association" mailing list speaking about an ODT template looking like the "old" crabe template, I'm trying to setup that ODT crabe-like template. That could be a good starting point for many of us to decline custom templates. I'm facing different kinds of issues, some of them are not easy to solve (for me) whenever they are. * How to select some fields to appear in the generated invoice or not depending on their valuation ? For example, how not to print the reference to the commercial proposal in the header, when none was produced, or the received payments at the bottom of the invoice, when still none has been emitted yet ? ==> Until now, I feel like it's not possible. :-\ * How to add the contact name in the customer's address (already asked here [fr]). ==> I guess it is possible with "customised tags". * How to position the summary after the invoice lines to a fixed line ? ==> I managed to sort it out using arrays, but I'm afraid it won't work with a multipage invoice... Need some more testing. * Where to find data for the payments already done ? * Tags in the page bottom are not interpreted. This is where I put juridical and administrative informations. This doesn't absolutely need to be extracted from the dabase, i.e. it may be hard coded in the ODT template with my current values, but that'd be so cool to have it soft coded. :-) * When I choose a predifined product/service, and its description includes line feed and special characters (such as "°" or any 8bit ASCII chars éàèœ...), then the description line in the ODT generated file is unreadable, due to many <br />, ° and other codes... That'll be enough for today, thanks for reading. 8-) Best regards, Manuel PINTOR
_______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
