Add Extrafields on PDF Models: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
Line 19: Line 19:
*Line complementary attribute
*Line complementary attribute


== Access to the configuration ==
==Access to the configuration==
Go on the Dolibarr application > Setup > Modules/Applications
Go on the Dolibarr application > Setup > Modules/Applications
Click on the parameter icon [[File:Cog.png]] of the Invoices module
Click on the parameter icon [[File:Cog.png]] of the Invoices module
Then you can create Module or Line complementary attribute
Then you can create Module or Line complementary attribute


== Module complementary attribute ==
==Module complementary attribute==
Go on the Complementary attributes (invoices) tab
Go on the Complementary attributes (invoices) tab
[[File:Invoices module setup.png|thumb]]
[[File:Invoices module setup.png|none|thumb]]
Put the all the mandatory fields, especially the Attribute code that will be used in the next chapters
Put the all the mandatory fields, especially the Attribute code that will be used in the next chapters


== Line complementary attribute ==
You should end up with something like that :
[[File:Invoices_module_setup_Step_2.png|none|thumb]]
 
==Line complementary attribute==
Go on the Complementary attributes (lines) tab
Go on the Complementary attributes (lines) tab
[[File:Invoices module setup line.png|thumb]]
[[File:Invoices module setup line.png|none|thumb]]
Put the all the mandatory fields, especially the Attribute code that will be used in the next chapters
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 :
[[File:Invoices module setup line Step 2.png|none|thumb]]
==Verification on the Invoices Module==

Revision as of 14:32, 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 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

Invoices module setup.png

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 :

Invoices module setup Step 2.png

Line complementary attribute

Go on the Complementary attributes (lines) tab

Invoices module setup line.png

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 :

Invoices module setup line Step 2.png

Verification on the Invoices Module