676
edits
m (Framaurin moved page Extrafields on pdf to Add Extrafields on PDF Models) |
No edit summary Tag: 2017 source edit |
||
| Line 1: | Line 1: | ||
{{TemplateDocDevEn}} | {{TemplateDocDevEn}} | ||
This page give you some advises how to integrate extrafields into PDF models of Dolibarr. | 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. | 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 | It is based on billing document but it will be the same for the others modules | ||
= Prerequisite = | =Prerequisite= | ||
You can read the following links before, some paragraph will come from these pages : | You can read the following links before, some paragraph will come from these pages : | ||
*[[Create a PDF document template]] | *[[Create a PDF document template]] | ||
*[[Extrafields]] | *[[Extrafields]] | ||
= Create a | =Create a Complementary Attributes on Invoices Module= | ||
First you need to create your | First you need to create your complementary attribute. | ||
This | This complementary attributes can be of two types : | ||
* Module | |||
* Line | *Module complementary attribute | ||
*Line complementary attribute | |||
== Access to the configuration == | |||
Go on the Dolibarr application > Setup > Modules/Applications | |||
Click on the parameter icon [[File:Cog.png]] of the Invoices module | |||
Then you can create Module or Line complementary attribute | |||
== Module complementary attribute == | |||
Go on the Complementary attributes (invoices) tab | |||
[[File:Invoices module setup.png|thumb]] | |||
Put the all the mandatory fields, especially the Attribute code that will be used in the next chapters | |||
Go on the | == Line complementary attribute == | ||
Go on the Complementary attributes (lines) tab | |||
[[File:Invoices module setup line.png|thumb]] | |||
Put the all the mandatory fields, especially the Attribute code that will be used in the next chapters | |||
edits