Everything works fine and the new template shows up in the module setup.
However if I create a new order for a customer and want to generate a PDF the model is still named “einstein”.
I have even tried to replace every word “einstein” with “ordertotalonly” in pdf_ordertotalonly.modules.php. But no succes.
I must be doing something wrong and hope somebody here has an answer.
Yes, tried that to. Didn’t work. It took a re-install of Dolibarr for the right name to show up. Maybe you could look into that?
What I need is an order and invoice template with only the columns description and Qty and at the bottom the total price.
I do not have any knowledge about php. I just opened the file in Notepad++ and read it very carefully. That way I (sort of) found out what part of the code to delete but I have no idea if I did it the right way.
Is it possible to use ODT templates for orders? If not, would you mind helping me a bit with the PDF template?
Dolibar is AWESOME and I think this FREEWARE-OPENSOURCE ERP must be considered one of the best, simple and versatile ERP developed ever.
At this time I’m trying to create an Einstein alternative model for my business invoice but…
As JURRY said before:
“I’ve made changes in pdf_einstein.modules.php and saved it as a new template with the name pdf_ordertotalonly.modules.php
To do this I used this guide: wiki.dolibarr.org/index.php/Create_a_PDF_document_template”
and… “Everything works fine and the new template shows up in the module setup.”
But in my case, it does not shows up in the module setup. I can’t see any change in Dolibarr. What I’m doing wrong?
I will appreciate any help.
My Dolibar version is 3.2.0 (It didn’t work with 3.1.0)