Just found a little trick which is making my life a lot easier and thought I would share it with every body.
Since v4.0 a new HIDDEN OPTION was introduced.
NEW: Can select dynamically number of lines to show on page on product, shipment, contact, orders, third parties.
For those of us who have long lists of products/services in our orders/invoices etc, this feature adds a line number next to each item for easier reference.
To Activate:
Go to SETUP>OTHER SETUP and set the following:
Name: MAIN_VIEW_LINE_NUMBER
Value: 1
Please mark the post as ‘Thank You’ if you found this useful.
Thank you very much for sharing this tipp, I have been searching pretty intense for this I am glad this does the trick.
Anyway, how do you implement this into your invoice? I tried quite a few like {line_colnum} and others and I googled like crazy.
Any clue how to get the numbers actually showing up in the final document?
it would help to use this tool, if we used PDF as a export format.
We are now pretty much done with the templates as ODT and we like the possibility to tweak little details after generating an invoice.
As I understand it, the numbers are there in my Dolibarr invoice, but I just don’t know how to call them in my template.
And what else is there? I would be interested. But I would also like this invoice number to be reset every month. The photograph is inserted FA 1701-0028
And I would like to be allocated one year from the month. eg. FA 0028/01/17 And yet he would like the price summary to be in words.
I found this in the Dolistore. It is priced low and base don the screenshot it seems to do the trick. The only problem is that besides a screenshot there is no other information or developer contact details.
If anyone uses this module, kindly explain if the line numbers show in existing core pdf templates or in a separate one and which templates it works on.
Hi, thanks for the tip. I purchased this code, but it seems not yet to do the trick
the language is different
the column width is not automatically corrected.
the lines do not count.
it only works on the invoice, not on proposals or delivery notes
So basically this was 12 Euro not spend too well, but well worth trying :-). Attached a cutout of the invoices, with and without using the option.
I woiuld be very pleased if someone can come up with a better solution. I am also looking for this option for quite some time now.
The trick is simple. Just make a column of table to be with Numbering option. For your reference I have attached a image of how I did it. The challenge I faced during the process is the code. Whenever I saved the edited document from libre writer, there was error. So I did editing initially in Word, then copied the calling code from Notepad++ and pasted as shown in Picture.
For those of you looking into a line numbering system, there is now a great solution. After contacting Patrick Fox, he was willing to write a complete module, doing just this. It shows on screen and on all print outs. Plus his support is fantastic, fast and accurate. He put this module in the Dolistore, for a reasonable price, so have a look.
Check this link https://www.dolistore.com/en/modules/898-Line-Numbers.html