Add Extrafields on PDF Models: Difference between revisions

Jump to navigation Jump to search
no edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 58: Line 58:
* Edit and make the following changes in the code:  
* Edit and make the following changes in the code:  
# 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.
# Save file. Now the template will be available in the list of models in Dolibarr.
# Test this model before going further ...
# Test this model before going further ...
676

edits

Navigation menu