Add Extrafields on PDF Models: Difference between revisions
mNo edit summary Tag: 2017 source edit |
mNo edit summary Tag: 2017 source edit |
||
| Line 42: | Line 42: | ||
==Verification on the Invoices Module== | ==Verification on the Invoices Module== | ||
Clic on Billing|Payement and select New invoice | |||
If you have created a Module complementary attribute, you should have that : | |||
[[File:Invoices module extrafield.png|none|thumb]] | |||
If you have created a Line complementary attribute, you should have that : | |||
[[File:Invoices module line extrafield.png|none|thumb]] | |||
Revision as of 14:45, 3 October 2019
This page give you some advises how to integrate complementary attributes (extrafields) into PDF models of Dolibarr.
This is a exemple and needs to be adapted to your needs. It is based on billing document but it will be the same for the others modules
Prerequisite
You can read the following links before, some paragraph will come from these pages :
Create a Complementary Attributes on Invoices Module
First you need to create your complementary attribute. This complementary attributes can be of two types :
- Module complementary attribute
- Line complementary attribute
Access to the configuration
Go on the Dolibarr application > Setup > Modules/Applications
Click on the parameter icon
of the Invoices module
Then you can create Module or Line complementary attribute
Module complementary attribute
Go on the Complementary attributes (invoices) tab
Put the all the mandatory fields, especially the Attribute code that will be used in the next chapters
You should end up with something like that :
Line complementary attribute
Go on the Complementary attributes (lines) tab
Put the all the mandatory fields, especially the Attribute code that will be used in the next chapters
You should end up with something like that :
Verification on the Invoices Module
Clic on Billing|Payement and select New invoice
If you have created a Module complementary attribute, you should have that :
If you have created a Line complementary attribute, you should have that :