Add Extrafields on PDF Models: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 59: Line 59:
# Rename '''class pdf_crabe''' to '''class pdf_my_template'''
# Rename '''class pdf_crabe''' to '''class pdf_my_template'''
# Rename constant '''$this->name = "crabe";''' to '''$this->name = "my_template";'''
# Rename constant '''$this->name = "crabe";''' to '''$this->name = "my_template";'''
# Save file. Now the template will be available in the list of models in Dolibarr.
# Update the '''$this->description''' with your description
# Test this model before going further ...
# Save file. Now the template will be available in the list of models in Dolibarr[[File:Invoices module setup template.png|none|thumb]]
# Test this model (by generating a pdf) before going further ...


=Modify the new invoice template=
=Modify the new invoice template=
676

edits

Navigation menu