Thanks for the quick reply eldy, I've been testing with a 3.1.0 version
so far.
I just performed a test on the demo site and it looks as bizarre as I
said before.
See invoice FA1203-1206
<http://demo.dolibarr.org/compta/facture.php?facid=1924>.
Regarding the 1st point, this would mean (to avoid empty fields in an
invoice) to setup different templates to suite different use cases...
I'm afraid it's not as practical as it seemed at 1st glance...
Best regards,
Manuel PINTOR
Le 03/03/2012 18:56, Laurent Destailleur (eldy) a écrit :
Le 03/03/2012 18:40, i.d & l a écrit :
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. :-\
Not possible.
But if field is empty when nto defined, you can always put the value
and it will be replace by '' so nothing appears.
* How to add the contact name in the customer's address (already
asked here
<http://www.dolibarr.fr/forum/12-howto--aide/30436-tags-pour-modele-de-facture-odt#30436>
[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 éàèoe...), then the description
line in the ODT generated file is unreadable, due to many <br
/>, ° and other codes...
Did you test with 3.1.1 or dev version ?
If you have pb with 3.1.1 or dev, can you reproduct pb onto
demo.dolibarr.org and provide me the ref ?
*
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
--
Eldy (Laurent Destailleur).
---------------------------------------------------------------
EMail:[email protected]
Web:http://www.destailleur.fr
Dolibarr (Project leader):http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal:[email protected]
AWStats (Author) :http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal:[email protected]
AWBot (Author) :http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) :http://cvschangelogb.sourceforge.net
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev