Complementary attributes

From Dolibarr ERP CRM Wiki
Revision as of 15:11, 22 December 2021 by Framaurin (talk | contribs) (→‎Type)
Jump to navigation Jump to search

Introduction

Most of the Dolibarr modules have the possibilities to enhance the standard fields by new users fields. These fields are called "Complementary attributes" can be defined for objects or object lines.

How to use

Go to the parameters of the module where you want to create new user fileds

Module configuration.png

On the configuration page, select the complementary attribute menu

Complementary attribute menu.png

Then click on New Attribute

List of fields for each complementary attribute

Each attribute has a some fields that need to be set

Fields of each complementary attribute.png

Label or translation key

  • Mandatory field
  • Label of the new field. This can be a translation key (new or existing), then you also need to set the 'language file' field.

Attribute code

  • Mandatory field
  • Code of the new field. Can only contain alphanumerical and lower case characters without space

Type

  • String (1 line) : Text on one line.
  • Long text (n lines) : Text on several lines.
  • Html text : Text with HTML tags.
  • Integer :
  • Float :
  • Date :
  • Date and hour :
  • Boolean (one checkbox) :
  • Price :
  • Phone :
  • Email :
  • Url :
  • Password :
  • Select list :
  • Select from table :
  • Radio buttons (one choice only) :
  • Checkboxes :
  • Checkboxes from table :
  • Link to an object :
  • Separator (not a field) :

Size

Position

Value

Language file

Computed field

Default value (Database)

Unique

Required

Can always be edited

Visibility

Display on PDF

Totalizable

Help text to show on tooltip