Setup Other: Difference between revisions

m
cosmetic changes
(Added further clarification after consulting the source code.)
m (cosmetic changes)
Line 26: Line 26:




The options here may not be documented since they are not stable and unsupported (remind they are experimental or development options). The basic format of how the list is written is broken down in the example below:
The options here may not be documented since they are not stable and unsupported (remember they are experimental or development options). The basic format of how the list is written is broken down in the example below:


HIDDEN_CONFIG ► ''Description of config and goal'' ► ''(specific version information) or values''
HIDDEN_CONFIG ► ''Description of config and goal'' ► ''(specific version information) or values''
<center>
<center>
<div class="toclimit-1 tocinline">
__TOC__
__TOC__
</div>
</center>
</center>
=Global Options=
=Global Options=


*ADD_UNSPLASH_LOGIN_BACKGROUND ► The background image will be refreshed on every login page refresh. Background image is pulled from the popular open source image website Unsplash. If an already saved static background image exists, then this code will override it (but not delete the saved image). Warning: Using this may allow this external website to steel your login credentials ► (v10.0)
*'''ADD_UNSPLASH_LOGIN_BACKGROUND''' ► The background image will be refreshed on every login page refresh. Background image is pulled from the popular open source image website Unsplash. If an already saved static background image exists, then this code will override it (but not delete the saved image). Warning: Using this may allow this external website to steel your login credentials ► (v10.0)
 
*MAIN_APPLICATION_TITLE ► This will change the title of software (that appears on the login page by default). Warning, changing this may make Dolibarr version detection fail by smartphone applications like [[Application Android - DoliDroid]]


*MAIN_AUTOFILL_DATE ► If this constant is defined (to something other than 0), the date of invoice, proposal, order or payment are auto-filled with the current date. It is highly recommended to NOT ENABLE this feature. This can create a lot of input errors with data not validated by users. This leads to incorrect values saved in the database causing confusion when you have to do your accountancy reports!
*'''MAIN_APPLICATION_TITLE''' ► This will change the title of software (that appears on the login page by default). Warning: changing this may make Dolibarr version detection fail by smartphone applications like [[Application Android - DoliDroid]]


*MAIN_AUTO_TIMESTAMP_IN_PUBLIC_NOTES ► Add a timestamp and user automatically when editing the ''public'' note.
*'''MAIN_AUTOFILL_DATE''' ► If this constant is defined (to something other than <code>0</code>), the date of invoice, proposal, order or payment are auto-filled with the current date. It is highly recommended to NOT ENABLE this feature. This can create a lot of input errors with data not validated by users. This leads to incorrect values saved in the database causing confusion when you have to do your accountancy reports!


*MAIN_AUTO_TIMESTAMP_IN_PRIVATE_NOTES ► Add a timestamp and user automatically when editing the ''private'' note.
*'''MAIN_AUTO_TIMESTAMP_IN_PUBLIC_NOTES''' ► Add a timestamp and user automatically when editing the ''public'' note.


*MAIN_COUNTRIES_IN_EEC ► Country list in European Area (For VAT purpose) (v10.0-v13.0). From v14, do not use this anymore (remove the constant if you set it and instead set if the country is in Europe or not from the dictionary of countries).
*'''MAIN_AUTO_TIMESTAMP_IN_PRIVATE_NOTES''' ► Add a timestamp and user automatically when editing the ''private'' note.


*MAIN_DEFAULT_PAYMENT_TERM_ID ► With ID of a payment term, will use this as default payment term each time you create a new proposal, order, invoice (customer and supplier)
*'''MAIN_COUNTRIES_IN_EEC''' ► Country list in European Area (For VAT purpose) ► (v10.0-v13.0). From v14, do not use this anymore (remove the constant if you set it and instead set if the country is in Europe or not from the dictionary of countries).
*MAIN_DEFAULT_PAYMENT_TYPE_ID ► With ID of a payment type, will use this as default payment type each time you create a new proposal, order, invoice (customer and supplier) ► (v12.0)


*MAIN_DEFAULT_LANGUAGE_FILTER ► Useful if you do not want to show en_US language option in combo boxes (other languages can easily be removed in langs directory but not en_US) ► (v10.0)
*'''MAIN_DEFAULT_PAYMENT_TERM_ID''' ► With ID of a payment term, will use this as default payment term each time you create a new proposal, order, invoice (customer and supplier)
*'''MAIN_DEFAULT_PAYMENT_TYPE_ID''' ► With ID of a payment type, will use this as default payment type each time you create a new proposal, order, invoice (customer and supplier) ► (v12.0)


*MAIN_LANGUAGES_ALLOWED ► is a list of languages without spaces, example : fr_FR,en_US,de_DE,it_IT if defined, only those languages will appear in combos. ► (v11.0)
*'''MAIN_DEFAULT_LANGUAGE_FILTER''' ► Useful if you do not want to show <code>en_US</code> language option in combo boxes (other languages can easily be removed in <code>langs</code> directory but not <code>en_US</code>) ► (v10.0)


*MAIN_DISABLE_NOTES_TAB ► Show or hide notes tab in the card page
*'''MAIN_LANGUAGES_ALLOWED''' ► Is a list of languages without spaces, example : <code>fr_FR,en_US,de_DE,it_IT</code> If defined, only those languages will appear in combos. ► (v11.0)


*MAIN_DISABLE_CONTACTS_TAB ► Show or hide contacts tab in the card page
*'''MAIN_DISABLE_NOTES_TAB''' ► Show or hide notes tab in the card page


*MAIN_DISABLE_FULL_SCANLIST ► Disables the complete scan of tables to allow the pagination to show total number of pages. May be useful to activate on systems with a very high quantity of data (tables with more than 2 000 000 records).
*'''MAIN_DISABLE_CONTACTS_TAB''' ► Show or hide contacts tab in the card page


*MAIN_DISABLE_JQUERY_JNOTIFY ► Disable usage of <code>JNotify</code> to show confirm or error messages
*'''MAIN_DISABLE_FULL_SCANLIST''' ► Disables the complete scan of tables to allow the pagination to show total number of pages. May be useful to activate on systems with a very high quantity of data (tables with more than 2 000 000 records).


*MAIN_DISABLE_AJAX_COMBOX ► If you have a large number of third parties or products, you can disable the autocomplete feature on the third parties list by setting this constant to 1 ► (v3.6.0+)
*'''MAIN_DISABLE_JQUERY_JNOTIFY''' ► Disable usage of <code>JNotify</code> to show confirm or error messages
*MAIN_DISABLE_MULTIPLE_FILEUPLOAD ► Disable users to upload multiple files at once.
*MAIN_DISABLE_TRUNC ► Disable all truncings in select list. (v7.0+)


*MAIN_DISABLEDRAFTSTATUS ► Disable the status Draft for some objects (project, donation, ...)
*'''MAIN_DISABLE_AJAX_COMBOX''' ► If you have a large number of third parties or products, you can disable the autocomplete feature on the third parties list by setting this constant to <code>1</code> ► (v3.6.0+)
*'''MAIN_DISABLE_MULTIPLE_FILEUPLOAD''' ► Disable users to upload multiple files at once.
*'''MAIN_DISABLE_TRUNC''' ► Disable all truncings in select list. ► (v7.0+)


*MAIN_DOC_USE_OBJECT_THIRDPARTY_NAME ► Add name of thirdparty at begin of generated document.
*'''MAIN_DISABLEDRAFTSTATUS''' ► Disable the status Draft for some objects (project, donation, ...)


*MAIN_DOC_USE_TIMING ► Add a timestamp at end of generated document. Value must be format of timestamp. For example: <code>%Y%m%d%H%M</code> (only for ODT files)
*'''MAIN_DOC_USE_OBJECT_THIRDPARTY_NAME''' ► Add name of thirdparty at begin of generated document.


*MAIN_DOC_UPLOAD_NOT_RENAME_BY_DEFAULT ► Disable the auto renaming on upload file ► (v10.0)
*'''MAIN_DOC_USE_TIMING''' ► Add a timestamp at end of generated document. Value must be format of timestamp. For example: <code>%Y%m%d%H%M</code> (only for ODT files)


*MAIN_DOL_SCRIPTS_ROOT ► Define directory who contains 'scripts' directory (e.g. <code>/var/www/dolibarr</code>). Value of this variable may be requested by some external script or tools.
*'''MAIN_DOC_UPLOAD_NOT_RENAME_BY_DEFAULT''' ► Disable the auto renaming on upload file ► (v10.0)


*MAIN_ENABLE_LOG_TO_HTML ► If this constant is defined, it is possible to have logs inside pages by adding the parameter &logtohtml=1 into URL.
*'''MAIN_DOL_SCRIPTS_ROOT''' ► Define directory who contains 'scripts' directory (e.g. <code>/var/www/dolibarr</code>). Value of this variable may be requested by some external script or tools.


*MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES ► Allow to import lines into current document from "linked" compatible documents ► (v8.0+)
*'''MAIN_ENABLE_LOG_TO_HTML''' ► If this constant is defined, it is possible to have logs inside pages by adding the parameter <code>&logtohtml=1</code> into URL.


*MAIN_FIRST_TO_UPPER ► Dolibarr add uppercase to Third Parties, contacts or members names if not done. Warning, with some languages (whose words with uppercase are not same words, or pagecode does not always have an uppercase, like cyrillic languages), this feature may alter your data.
*'''MAIN_ENABLE_IMPORT_LINKED_OBJECT_LINES''' ► Allow to import lines into current document from "linked" compatible documents ► (v8.0+)


*MAIN_ALL_TO_UPPER ► Dolibarr puts uppercase for Third Parties, contacts or members names if not done. Warning, with some languages (whose words with uppercase are not same words, or pagecode does not always have an uppercase, like cyrillic languages), this feature may alter your data. ► (v11.0)
*'''MAIN_FIRST_TO_UPPER''' ► Dolibarr add uppercase to Third Parties, contacts or members names if not done. Warning: with some languages (whose words with uppercase are not same words, or pagecode does not always have an uppercase, like cyrillic languages), this feature may alter your data.


*MAIN_ALL_TOWN_TO_UPPER ► Dolibarr puts uppercase for town names if not done. ► (v13.0)
*'''MAIN_ALL_TO_UPPER''' ► Dolibarr puts uppercase for Third Parties, contacts or members names if not done. Warning, with some languages (whose words with uppercase are not same words, or pagecode does not always have an uppercase, like cyrillic languages), this feature may alter your data. ► (v11.0)


*MAIN_FILESYSTEM_ENCODING ► With some PHP versions, PHP is not able to detect the page code for filesystem of the server OS. To solve this, Dolibarr assumes your OS filesystem is UTF-8 if on Linux or OSX system, and ISO-8859-1 if on Windows. If not, for example on a Windows server with a NTFS UTF-8 pagecode, you can set the variable <code>MAIN_FILESYSTEM_ENCODING</code> to "<code>utf-8</code>".
*'''MAIN_ALL_TOWN_TO_UPPER''' ► Dolibarr puts uppercase for town names if not done. ► (v13.0)


*MAIN_FORCELANGDIR ► Relative path of the directory holding your custom <code>langs</code> folder.
*'''MAIN_FILESYSTEM_ENCODING''' ► With some PHP versions, PHP is not able to detect the page code for filesystem of the server OS. To solve this, Dolibarr assumes your OS filesystem is <code>UTF-8</code> if on Linux or OSX system, and <code>ISO-8859-1</code> if on Windows. If not, for example on a Windows server with a NTFS <code>UTF-8</code> pagecode, you can set the variable <code>MAIN_FILESYSTEM_ENCODING</code> to "<code>utf-8</code>".


*MAIN_HTML_TITLE ► Can be used to control how the html page title is formatted. If value contains key '<code>noapp</code>', application name will not be output. If value contains '<code>thirdpartynameonly</code>', on tab for thirdparties, only name of thirdparties are output. Value can be list of tags: '<code>noapp;thirdpartynameonly</code>'
*'''MAIN_FORCELANGDIR''' ► Relative path of the directory holding your custom <code>langs</code> folder.


*MAIN_HELPCENTER_LINKTOUSE  ► Define the URL link to use as the target page for link "I need help" onto logon page
*'''MAIN_HTML_TITLE''' ► Can be used to control how the html page title is formatted. If value contains key '<code>noapp</code>', application name will not be output. If value contains '<code>thirdpartynameonly</code>', on tab for thirdparties, only name of thirdparties are output. Value can be list of tags: '<code>noapp;thirdpartynameonly</code>'


*MAIN_LANDING_PAGE ► Can choose the first page to show after login (the landing page). This option works as a global option (llx_const) and per user option (llx_user_param). ► (v3.9+)
*'''MAIN_HELPCENTER_LINKTOUSE''' ► Define the URL link to use as the target page for link "I need help" onto logon page


*MAIN_LOGOUT_GOTO_URL ► URL to which the user will be redirected after LOGOUT
*'''MAIN_LANDING_PAGE''' ► Can choose the first page to show after login (the landing page). This option works as a global option (<code>llx_const</code>) and per user option (<code>llx_user_param</code>). ► (v3.9+)


*MAIN_MAXTABS_IN_CARD ► Maximum number of tabs visible. Others are grouped into a combo list.
*'''MAIN_LOGOUT_GOTO_URL''' ► URL to which the user will be redirected after LOGOUT


*MAIN_MAXLIST_OVERLOAD ► Maximum number of line in space's domaine.
*'''MAIN_MAXTABS_IN_CARD''' ► Maximum number of tabs visible. Others are grouped into a combo list.


*MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING ► A warning saying setup of modules is not complete is shown if the number of enabled modules is lower or equal than this value (1 if not defined)
*'''MAIN_MAXLIST_OVERLOAD''' ► Maximum number of line in space's domain.


*MAIN_NO_CONCAT_DESCRIPTION ► Allow to use only input custom description in lines (propale, order, invoice) ► (v10.0)
*'''MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING''' ► A warning saying setup of modules is not complete is shown if the number of enabled modules is lower or equal than this value (<code>1</code> if not defined)


*MAIN_ONLY_LOGIN_ALLOWED ► Only the specified login is allowed to log in Dolibarr (maintenance mode).
*'''MAIN_NO_CONCAT_DESCRIPTION''' ► Allow to use only input custom description in lines (propale, order, invoice) ► (v10.0)


*MAIN_OPTIMIZE_SPEED ► Use some speed enhancements. See page [[FAQ Increase Performance]] for more information.
*'''MAIN_ONLY_LOGIN_ALLOWED''' ► Only the specified login is allowed to log in Dolibarr (maintenance mode).


*MAIN_PROPAGATE_CONTACTS_FROM_ORIGIN ► When creating an order, contract, invoice from another object, specific contacts of objects are set as specific contact of the new object when possible. ► (v4.0+)
*'''MAIN_OPTIMIZE_SPEED''' ► Use some speed enhancements. See page [[FAQ Increase Performance]] for more information.


*MAIN_PUBLIC_NOTE_IN_ADDRESS ► Show public note in address block ► (v4.0+)
*'''MAIN_PROPAGATE_CONTACTS_FROM_ORIGIN''' ► When creating an order, contract, invoice from another object, specific contacts of objects are set as specific contact of the new object when possible. ► (v4.0+)


*MAIN_REMOVE_INSTALL_WARNING ► Remove all security warnings that appear to administrator users if URL <code>/install</code> is public. You should solve the problem if warning occurs, instead of removing the warning! For this, create a file called <code>install.lock</code> into Dolibarr root directory. This will stop the warning but also make the page <code>/install</code> not possible to use, to protect your installation.
*'''MAIN_PUBLIC_NOTE_IN_ADDRESS''' ► Show public note in address block ► (v4.0+)


*MAIN_REPEATCONTACTONEACHTAB ► If added and set to 1, this adds contacts on all tabs, not only main tab.
*'''MAIN_REMOVE_INSTALL_WARNING''' ► Remove all security warnings that appear to administrator users if URL <code>/install</code> is public. You should solve the problem if warning occurs, instead of removing the warning! For this, create a file called <code>install.lock</code> into Dolibarr root directory. This will stop the warning but also make the page <code>/install</code> not possible to use, to protect your installation.


*MAIN_REPLACE_TRANS_xx_XX ► Where <code>xx_XX</code> is language code. If value is <code>string1:newstring1;string2:newstring2</code> then replace <code>string1</code> with <code>newstring1</code> in all translation done for language <code>xx_XX</code>.
*'''MAIN_REPEATCONTACTONEACHTAB''' ► If added and set to <code>1</code>, this adds contacts on all tabs, not only main tab.


*MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND ► Change way of rounding total TTC lines, rounding first of after.
*'''MAIN_REPLACE_TRANS_xx_XX''' ► Where <code>xx_XX</code> is language code. If value is <code>string1:newstring1;string2:newstring2</code> then replace <code>string1</code> with <code>newstring1</code> in all translation done for language <code>xx_XX</code>.


*MAIN_SERVER_TZ ► If you can't set the timezone of your PHP installation, set this constant. Better is to set it to UTC. In future, this constant will be forced to 'UTC' so PHP server timezone will not have effect anymore. Examples: <code>Europe/Paris</code>, <code>auto</code>.
*'''MAIN_ROUNDOFTOTAL_NOT_TOTALOFROUND''' ► Change way of rounding total TTC lines, rounding first of after.


*MAIN_SEARCH_FORM_ON_HOME_AREAS ► Show the search form on home page areas for core modules (Removed after v5 due to global search combo) ► (v6.0+)
*'''MAIN_SERVER_TZ''' ► If you can't set the timezone of your PHP installation, set this constant. Better is to set it to UTC. In future, this constant will be forced to '<code>UTC</code>' so PHP server timezone will not have effect anymore. Examples: <code>Europe/Paris</code>, <code>auto</code>.


*MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE ► If only one result is found, then setting this value to 1 will take you direct to the item (default method).  Setting the value to 0 will show the result in the list as a single result ► (v5.0+)
*'''MAIN_SEARCH_FORM_ON_HOME_AREAS''' ► Show the search form on home page areas for core modules (Removed after v5 due to global search combo) ► (v6.0+)


*MAIN_SERVICES_ARE_ECOMMERCE_200238EC ► If seller and buyer are in Europe and buyer is not a company, use the VAT of buying country.
*'''MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE''' ► If only one result is found, then setting this value to <code>1</code> will take you direct to the item (default method).  Setting the value to <code>0</code> will show the result in the list as a single result ► (v5.0+)


*MAIN_SHOW_TUNING_INFO ► Add tuning information into javascript console. Better when xdebug is enabled.
*'''MAIN_SERVICES_ARE_ECOMMERCE_200238EC''' ► If seller and buyer are in Europe and buyer is not a company, use the VAT of buying country.


*MAIN_SHOW_TECHNICAL_ID ► Show also technical IDs on elements cards or some lists (not supported everywhere).
*'''MAIN_SHOW_TUNING_INFO''' ► Add tuning information into javascript console. Better when xdebug is enabled.


*MAIN_SHOWDATABASENAMEINHELPPAGESLINK ► Show database name in upper help menu ► (v8.0+)
*'''MAIN_SHOW_TECHNICAL_ID''' ► Show also technical IDs on elements cards or some lists (not supported everywhere).


*MAIN_USE_ALTERNATE_TRANSLATION_FOR ► List of fields per object that need an alternate translation.
*'''MAIN_SHOWDATABASENAMEINHELPPAGESLINK''' ► Show database name in upper help menu ► (v8.0+)


Example: MAIN_USE_ALTERNATE_TRANSLATION_FOR=societe:name,town;contact:firstname,lastname
*'''MAIN_USE_ALTERNATE_TRANSLATION_FOR''' ► List of fields per object that need an alternate translation. Example: <code>MAIN_USE_ALTERNATE_TRANSLATION_FOR=societe:name,town;contact:firstname,lastname</code>


*MAIN_USE_HOURMIN_IN_DATE_RANGE ► On all entities lines (invoice, order, contract...), it is possible to add hour and minutes with date on fields "date start" and "date end".
*'''MAIN_USE_HOURMIN_IN_DATE_RANGE''' ► On all entities lines (invoice, order, contract...), it is possible to add hour and minutes with date on fields "date start" and "date end".


*MAIN_USE_JQUERY_JEDITABLE ► Allow to update from screen, directly into database, some properties of elements (invoices, proposals, ...) using Ajax. This make response time faster, but avoid using this feature, because it bypasses some business actions (updates on other data that should be done consistently) and ignores business controls on data you saved. Consequently this feature breaks consistency of data and possibly the stability of the software.
*'''MAIN_USE_JQUERY_JEDITABLE''' ► Allow to update from screen, directly into database, some properties of elements (invoices, proposals, ...) using Ajax. This make response time faster, but avoid using this feature, because it bypasses some business actions (updates on other data that should be done consistently) and ignores business controls on data you saved. Consequently this feature breaks consistency of data and possibly the stability of the software.


*MAIN_USE_JQUERY_MULTISELECT ► Allow to use Ajax when a choice that require multiselect is used (for the moment only external modules uses select box with multiselect values). Set the value to the jQuery plugin name to use (multiselect, multiple-select, select2…). Setting it to any other value will result in unwanted side-effects and/or bugs.
*'''MAIN_USE_JQUERY_MULTISELECT''' ► Allow to use Ajax when a choice that require multiselect is used (for the moment only external modules uses select box with multiselect values). Set the value to the jQuery plugin name to use (multiselect, multiple-select, select2…). Setting it to any other value will result in unwanted side-effects and/or bugs.


*MAIN_USE_OLD_SEARCH_FORM ► Display the old search form in left menu.
*'''MAIN_USE_OLD_SEARCH_FORM''' ► Display the old search form in left menu.


*MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS ► Allow to force the VAT rate to a given value (instead of higher VAT rate of country) if the VAT rate of product was not defined.
*'''MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS''' ► Allow to force the VAT rate to a given value (instead of higher VAT rate of country) if the VAT rate of product was not defined.


*MAIN_USE_VAT_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID_ARE_INDIVIDUAL ► If the buyer is a company that is in Europe but has no valid intracommunautary VAT ID, it is processed like if it is an individual, not a company. TODO: Must be implemented into accountancy module too instead of being set to 1 systematically into accountancy module.
*'''MAIN_USE_VAT_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID_ARE_INDIVIDUAL''' ► If the buyer is a company that is in Europe but has no valid intracommunautary VAT ID, it is processed like if it is an individual, not a company. TODO: Must be implemented into accountancy module too instead of being set to <code>1</code> systematically into accountancy module.


*MAIN_USE_VAT_OF_PRODUCT_FOR_INDIVIDUAL_CUSTOMER_OUT_OF_EEC ► For to use the default VAT of product for individual customers that are out E.E.C. (European Economic Community) ► (v7.0+). There is no reason to use this.
*'''MAIN_USE_VAT_OF_PRODUCT_FOR_INDIVIDUAL_CUSTOMER_OUT_OF_EEC''' ► For to use the default VAT of product for individual customers that are out E.E.C. (European Economic Community) ► (v7.0+). ''There is no reason to use this.''


*MAIN_VIEW_LINE_NUMBER ► Shows a line number for each line of products/services at documents like proposal / order / invoice. Only on screen, not on PDF.
*'''MAIN_VIEW_LINE_NUMBER''' ► Shows a line number for each line of products/services at documents like proposal / order / invoice. Only on screen, not on PDF.


*MAIN_VIEW_LINE_NUMBER_IN_LIST ► Shows a line number in lists (v12.0).
*'''MAIN_VIEW_LINE_NUMBER_IN_LIST''' ► Shows a line number in lists ► (v12.0)


*MAIN_VOLUME_DEFAULT_ROUND ► Accuracy of volume (number of decimals)
*'''MAIN_VOLUME_DEFAULT_ROUND''' ► Accuracy of volume (number of decimals)


*MAIN_VOLUME_DEFAULT_UNIT ► Default unit for weight (0=kg, -3=g, ...)
*'''MAIN_VOLUME_DEFAULT_UNIT''' ► Default unit for weight (<code>0=kg</code>, <code>-3=g</code>, ...)


*MAIN_WEIGHT_DEFAULT_ROUND ► Accuracy of weight (number of decimals)
*'''MAIN_WEIGHT_DEFAULT_ROUND''' ► Accuracy of weight (number of decimals)


*MAIN_WEIGHT_DEFAULT_UNIT ► Default unit for weight (0=kg, -3=g, ...)
*'''MAIN_WEIGHT_DEFAULT_UNIT''' ► Default unit for weight (<code>0=kg</code>, <code>-3=g</code>, ...)


*USER_HIDE_INACTIVE_IN_COMBOBOX ► Disable display inactive users in combobox.
*'''USER_HIDE_INACTIVE_IN_COMBOBOX''' ► Disable display inactive users in combobox.


*MAIN_DISABLE_PDF_THUMBS ► Disable thumbs PDF in case of imagick bug
*'''MAIN_DISABLE_PDF_THUMBS''' ► Disable thumbs PDF in case of imagick bug


*MAIN_KEEP_REF_CUSTOMER_ON_CLONING ► Keep the Customer Reference on cloned object (Propal/Invoice)
*'''MAIN_KEEP_REF_CUSTOMER_ON_CLONING''' ► Keep the Customer Reference on cloned object (Propal/Invoice)


*MAIN_DONT_KEEP_NOTE_ON_CLONING ► Remove the object notes during cloning ► (v11.0)
*'''MAIN_DONT_KEEP_NOTE_ON_CLONING''' ► Remove the object notes during cloning ► (v11.0)


*MAIN_DOC_SORT_FIELD ► Set the default sorting field on document page (name by default) ► (v11.0)
*'''MAIN_DOC_SORT_FIELD''' ► Set the default sorting field on document page (name by default) ► (v11.0)


*MAIN_DOC_SORT_ORDER ► Set the default sorting order (ASC or DESC) on document page (ASC by default) ► (v11.0)
*'''MAIN_DOC_SORT_ORDER''' ► Set the default sorting order (ASC or DESC) on document page (ASC by default) ► (v11.0)


*MAIN_USE_ZIPTOWN_DICTIONNARY ► Use dictionnary ZIP for create card.
*'''MAIN_USE_ZIPTOWN_DICTIONNARY''' ► Use dictionary ZIP for create card.


*MAIN_USE_TOP_MENU_SEARCH_DROPDOWN ► Show search in top menu with theme eldy ► (v11.0)
*'''MAIN_USE_TOP_MENU_SEARCH_DROPDOWN''' ► Show search in top menu with theme eldy ► (v11.0)


*MAIN_PHONE_SEPAR ► Separ phone number other space ►(v12.0)
*'''MAIN_PHONE_SEPAR''' ► Separ phone number other space ► (v12.0)


*GRAPH_USE_FISCAL_YEAR ► Widgets uses fiscal year
*'''GRAPH_USE_FISCAL_YEAR''' ► Widgets uses fiscal year


*SHOW_SOCINFO_ON_PRINT ► Permit to add user company information on each printed document (when click on Dolibarr print button) ►(v12.0)
*'''SHOW_SOCINFO_ON_PRINT''' ► Permit to add user company information on each printed document (when click on Dolibarr print button) ► (v12.0)


*MAIN_FEATURES_LEVEL ► Level of features to show: -1=stable+deprecated, 0=stable only (default), 1=stable+experimental, 2=stable+experimental+development
*'''MAIN_FEATURES_LEVEL''' ► Level of features to show: <code>-1=stable+deprecated</code>, <code>0=stable only (default)</code>, <code>1=stable+experimental</code>, <code>2=stable+experimental+development</code>


*MAIN_SHOW_TECHNICAL_ID ► Show technical id for object.
*'''MAIN_SHOW_TECHNICAL_ID''' ► Show technical id for object.


*MAIN_HTTP_CONTENT_SECURITY_POLICY ► Allows you to fill in the content security rules ►(v6.0)
*'''MAIN_HTTP_CONTENT_SECURITY_POLICY''' ► Allows you to fill in the content security rules ► (v6.0)


*SOCIETE_ON_SEARCH_AND_LIST_GO_ON_CUSTOMER_OR_SUPPLIER_CARD ► Allow to change the link of the third party to customer/supplier card instead of contact card on List.
*'''SOCIETE_ON_SEARCH_AND_LIST_GO_ON_CUSTOMER_OR_SUPPLIER_CARD''' ► Allow to change the link of the third party to customer/supplier card instead of contact card on List.


*MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT ► If set to "common" the setup module becomes list by defaut
*'''MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT''' ► If set to "common" the setup module becomes list by defaut


*MAIN_PAGESIZE_CHOICES  ► Configure select field to choose number of lines displayed on listing (10:10,15:15,20:20,30:30,40:40,50:50,100:100,250:250,500:500,1000:1000,5000:5000).
*'''MAIN_PAGESIZE_CHOICES''' ► Configure select field to choose number of lines displayed on listing (<code>10:10,15:15,20:20,30:30,40:40,50:50,100:100,250:250,500:500,1000:1000,5000:5000</code>).


*MAIN_USE_TOP_MENU_QUICKADD_DROPDOWN ► Add a dropdown menu with shortcuts to create new objects ►(v13.0)
*'''MAIN_USE_TOP_MENU_QUICKADD_DROPDOWN''' ► Add a dropdown menu with shortcuts to create new objects ► (v13.0)


*MAIN_EMAILCOLLECTOR_MAIL_WITHOUT_HEADER ► Remove the header stored by email collector ►(v13.0)
*'''MAIN_EMAILCOLLECTOR_MAIL_WITHOUT_HEADER''' ► Remove the header stored by email collector ► (v13.0)


*MAIN_USE_VAT_OF_PRODUCT_FOR_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID
*'''MAIN_USE_VAT_OF_PRODUCT_FOR_COMPANIES_IN_EEC_WITH_INVALID_VAT_ID'''


*MAIN_OPTIMIZEFORTEXTBROWSER ► Optimise interface for a text only browser. This variable is set to 1 automatically if your browser is lynx or links
*'''MAIN_OPTIMIZEFORTEXTBROWSER''' ► Optimise interface for a text only browser. This variable is set to 1 automatically if your browser is lynx or links


*MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH ► Set the number of years visible on some graph of some widgets (2 is default value)
*'''MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH''' ► Set the number of years visible on some graph of some widgets (2 is default value)


*MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION
*'''MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION'''


*ALLOW_USE_KITS_INTO_BOM_AND_MO
*'''ALLOW_USE_KITS_INTO_BOM_AND_MO'''


*API_DISABLE_LOGIN_API
*'''API_DISABLE_LOGIN_API ►''' (v14.0)


=Security Options=
=Security Options=
Line 253: Line 247:
*AGENDA_MAX_EVENTS_DAY_VIEW ► Define the maximum number of visible entries for each day in agenda. Default value is 3. Value 0 means no limit.
*AGENDA_MAX_EVENTS_DAY_VIEW ► Define the maximum number of visible entries for each day in agenda. Default value is 3. Value 0 means no limit.


*AGENDA_USE_EVENT_TYPE ► Add a mandatory field "Type" when creating an event (deprecated).
*AGENDA_USE_EVENT_TYPE ► Add a mandatory field "Type" when creating an event ('''''deprecated''''').


*MAIN_ADD_EVENT_ON_ELEMENT_CARD ► Allow to create an event from a document (proposal, order, invoice)
*MAIN_ADD_EVENT_ON_ELEMENT_CARD ► Allow to create an event from a document (proposal, order, invoice)


*AGENDA_SUPPORT_PRIORITY_IN_EVENTS ► Allow to have priorities in events
*AGENDA_SUPPORT_PRIORITY_IN_EVENTS ► Allow to have priorities in events ► (>=v13.0)


[[#Top|(back to top)]]
[[#Top|(back to top)]]
Line 271: Line 265:
*BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL ► Ask bank account during creation of a proposal
*BANK_ASK_PAYMENT_BANK_DURING_PROPOSAL ► Ask bank account during creation of a proposal


*BANK_USE_OLD_VARIOUS_PAYMENT ► To allow to enter miscellaneous payments (not covered by other modules) using old method. Deprecated. Entering various payment is preferred (v12.0-).
*BANK_USE_OLD_VARIOUS_PAYMENT ► To allow to enter miscellaneous payments (not covered by other modules) using old method. '''''Deprecated'''''. Entering various payment is preferred ► (<=v12.0).


[[#Top|(back to top)]]
[[#Top|(back to top)]]
Line 376: Line 370:
*MAILING_PREFIX_FOR_EMAIL_ID ► Set the value that will be used to compose the "Email ID" into email headers. If you set this value to '<code>SERVER_NAME</code>', the virtual host of web server will be used. By default, this is not defined, so a hash key, unique to each instance, is used.
*MAILING_PREFIX_FOR_EMAIL_ID ► Set the value that will be used to compose the "Email ID" into email headers. If you set this value to '<code>SERVER_NAME</code>', the virtual host of web server will be used. By default, this is not defined, so a hash key, unique to each instance, is used.


*MAILING_NO_USING_PHPMAIL ► If set, the module emailing can't be used with mail setup of "phpmail". Using a thirdparty SMTP server is required. You can complete warning message by adding an email to contact for setup help with constant MAILING_SMTP_SETUP_EMAILS_FOR_QUESTIONS.
*MAILING_NO_USING_PHPMAIL ► If set, the module emailing can't be used with mail setup of "phpmail". Using a thirdparty SMTP server is required. You can complete warning message by adding an email to contact for setup help with constant <code>MAILING_SMTP_SETUP_EMAILS_FOR_QUESTIONS</code>.


*MAILING_SMTP_SETUP_EMAILS_FOR_QUESTIONS ► Contains the email of contact to show into the message visible to a user when he try to use emailing module without SMTP server and if option MAILING_NO_USING_PHPMAIL is set to on.
*MAILING_SMTP_SETUP_EMAILS_FOR_QUESTIONS ► Contains the email of contact to show into the message visible to a user when he try to use emailing module without SMTP server and if option MAILING_NO_USING_PHPMAIL is set to on.
Line 509: Line 503:
*MAIN_EASTER_EGG_COMMITSTRIP ► Show a comic image from the CommitStrip website. Images are refreshed daily. ► (v6.0+)
*MAIN_EASTER_EGG_COMMITSTRIP ► Show a comic image from the CommitStrip website. Images are refreshed daily. ► (v6.0+)


*MAIN_STATUS_USES_CSS ► (v10.0+) Change status design using new style
*MAIN_STATUS_USES_CSS ►  Change status design using new style ► (v10.0+)


*MAIN_APPLICATION_DISABLED_STATEBOARD ► Hide the stateboard of the main page
*MAIN_APPLICATION_DISABLED_STATEBOARD ► Hide the stateboard of the main page
Line 515: Line 509:
*MAIN_APPLICATION_DISABLED_WORKBOARD ► Hide the workboard of the main page
*MAIN_APPLICATION_DISABLED_WORKBOARD ► Hide the workboard of the main page


*MAIN_INCLUDE_GLOBAL_STATS_IN_OPENED_DASHBOARD ► (v11.0+) This conf will auto remove global stats box item if there are already in the new dashboard of opened elements and keep displayed stats on the opened item box (not only on mouse over)
*MAIN_INCLUDE_GLOBAL_STATS_IN_OPENED_DASHBOARD ► This conf will auto remove global stats box item if there are already in the new dashboard of opened elements and keep displayed stats on the opened item box (not only on mouse over) ► (v11.0+)


*MAIN_USE_TOP_MENU_SEARCH_DROPDOWN ► (v11.0+) actually only for eldy theme, this conf move search input  to top menu and use new design too
*MAIN_USE_TOP_MENU_SEARCH_DROPDOWN ► Actually only for eldy theme, this conf move search input  to top menu and use new design too ► (v11.0+)


*THEME_AGRESSIVENESS_RATIO ► (v11.0+) this conf can be used to increase/decrease agressiveness of colors. Value 0 is medium, value is between -100 (light grey colors) to +100 (very flashy colors)
*THEME_AGRESSIVENESS_RATIO ► This conf can be used to increase/decrease agressiveness of colors. Value 0 is medium, value is between -100 (light grey colors) to +100 (very flashy colors) ► (v11.0+)


*THEME_SHOW_BORDER_ON_INPUT
*THEME_SHOW_BORDER_ON_INPUT
Line 652: Line 646:


*TAKEPOS_ENABLE_SUMUP ► Enable the compatibility of TakePOS with the card reader terminal [https://SumUp.fr SumUp]
*TAKEPOS_ENABLE_SUMUP ► Enable the compatibility of TakePOS with the card reader terminal [https://SumUp.fr SumUp]
*TAKEPOS_CAN_FORCE_BANK_ACCOUNT_DURING_PAYMENT ► Possibility to force the bank account during the payment in TakePOS  ► (V13.0)
*TAKEPOS_CAN_FORCE_BANK_ACCOUNT_DURING_PAYMENT ► Possibility to force the bank account during the payment in TakePOS  ► (v13.0)
*
*
*TAKEPOS_NUMPAD_FORCE_PAYMENT_ICONS_LABELS
*TAKEPOS_NUMPAD_FORCE_PAYMENT_ICONS_LABELS
Line 668: Line 662:
*PRODUCT_DONOTSEARCH_ANYWHERE ► When Ajax search is enabled, search is done on criteria anywhere in label of product. By adding this option, search is done only on start of label. This is really faster when you have a huge number of products.
*PRODUCT_DONOTSEARCH_ANYWHERE ► When Ajax search is enabled, search is done on criteria anywhere in label of product. By adding this option, search is done only on start of label. This is really faster when you have a huge number of products.


*MAIN_DIRECT_STATUS_UPDATE ► Allows you to change the status of the product (''for sale/not for sale for purchase/not for purchase'') directly on the product page via a ''on/off'' switch button. This can be convenient for those who need to quickly disable certain statuses of products without having to go through the editing product page individually. Also can be very useful if used as a filter on the product and product search list. This option doesn't generate a MODIFY trigger, so be careful with external modules. ► v4.0+
*MAIN_DIRECT_STATUS_UPDATE ► Allows you to change the status of the product (''for sale/not for sale for purchase/not for purchase'') directly on the product page via a ''on/off'' switch button. This can be convenient for those who need to quickly disable certain statuses of products without having to go through the editing product page individually. Also can be very useful if used as a filter on the product and product search list. This option doesn't generate a MODIFY trigger, so be careful with external modules. ► (v4.0+)


*MAIN_SEARCH_PRODUCT_BY_FOURN_REF ► (>= 8.0) Allow to search a product by supplier ref in document's add line form.
*MAIN_SEARCH_PRODUCT_BY_FOURN_REF ► Allow to search a product by supplier ref in document's add line form. ► (>= 8.0)


*MAIN_DISABLE_FREE_LINES ► Disallow using free lines to add line in documents ► (>= 8.0)
*MAIN_DISABLE_FREE_LINES ► Disallow using free lines to add line in documents ► (>= 8.0)
Line 682: Line 676:
*PRODUCT_DISABLE_SIZE ► Disable size in product card.
*PRODUCT_DISABLE_SIZE ► Disable size in product card.


*PRODUCT_DISABLE_LENGTH ► Disable length in product card ► v4.0+
*PRODUCT_DISABLE_LENGTH ► Disable length in product card ► (v4.0+)


*PRODUCT_DISABLE_SURFACE ► Disable surface in product card. ► v4.0+
*PRODUCT_DISABLE_SURFACE ► Disable surface in product card. ► (v4.0+)


*PRODUCT_DISABLE_VOLUME ► Disable volume in product card.
*PRODUCT_DISABLE_VOLUME ► Disable volume in product card.
Line 692: Line 686:
*PRODUIT_MULTIPRICES_USE_VAT_PER_LEVEL ► When option to use price per level/segment is on, this allows to also set a dedicated vat for each price level.
*PRODUIT_MULTIPRICES_USE_VAT_PER_LEVEL ► When option to use price per level/segment is on, this allows to also set a dedicated vat for each price level.


*PRODUIT_CUSTOMER_PRICES_BY_QTY ► If price per quantity ► Experimental
*PRODUIT_CUSTOMER_PRICES_BY_QTY ► If price per quantity ► ''Experimental''
*PRODUIT_CUSTOMER_PRICES_BY_QTY_MULTIPRICES ► If price per quantity and customer ► Experimental
*PRODUIT_CUSTOMER_PRICES_BY_QTY_MULTIPRICES ► If price per quantity and customer ► ''Experimental''
*PRODUCT_MAX_LENGTH_COMBO ► Limit the length of the label displayed when adding lines in proposals/invoices/orders
*PRODUCT_MAX_LENGTH_COMBO ► Limit the length of the label displayed when adding lines in proposals/invoices/orders


Line 704: Line 698:
*PRODUCT_USE_UNITS ► Add another units on products (Use same dictionnary as default unit feature) and propagate this unit on line of documents.
*PRODUCT_USE_UNITS ► Add another units on products (Use same dictionnary as default unit feature) and propagate this unit on line of documents.


*RESOURCE_ON_PRODUCTS_RESOURCE_ON_SERVICES ► Allow to affect ressources on products/services (v10.0+)
*RESOURCE_ON_PRODUCTS_RESOURCE_ON_SERVICES ► Allow to affect ressources on products/services ► (v10.0+)
*PRODUCT_SHOW_ORIGIN_IN_COMBO ► Show origin of products when adding lines in proposals/invoices/orders (v12.0+)
*PRODUCT_SHOW_ORIGIN_IN_COMBO ► Show origin of products when adding lines in proposals/invoices/orders ► (v12.0+)
*PRODUIT_ATTRIBUTES_HIDECHILD  ► Add option hide child if variantes
*PRODUIT_ATTRIBUTES_HIDECHILD  ► Add option hide child if variantes


*PRODUCT_ADD_FORM_ADD_TO ► Add a product to a draft proposal/order/invoice, from the product card.
*PRODUCT_ADD_FORM_ADD_TO ► Add a product to a draft proposal/order/invoice, from the product card.
*PRODUCT_DISABLE_SELLBY ► Hide the Sell by date ► (V13.0)
*PRODUCT_DISABLE_SELLBY ► Hide the Sell by date ► (v13.0+)
*PRODUCT_DISABLE_EATBY ► Hide the Eat by date ► (V13.0)
*PRODUCT_DISABLE_EATBY ► Hide the Eat by date ► (v13.0+)


*PRODUCT_DENY_CHANGE_PRODUCT_TYPE ► Forbid to change the product type
*PRODUCT_DENY_CHANGE_PRODUCT_TYPE ► Forbid to change the product type
Line 729: Line 723:
*PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS ► Enable linking a project to any supplier even when using the third party link feature. Note: Set to 1 by default from 3.7.
*PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS ► Enable linking a project to any supplier even when using the third party link feature. Note: Set to 1 by default from 3.7.


*PROJECT_CREATE_ON_OVERVIEW_DISABLED ► Hide the "create ..." button on the overview page ► (4.0)
*PROJECT_CREATE_ON_OVERVIEW_DISABLED ► Hide the "create ..." button on the overview page ► (v4.0)


*PROJECT_DISABLE_UNLINK_FROM_OVERVIEW ► Enable removing the button from a link in the project overview. ► (>= 8.0.1)
*PROJECT_DISABLE_UNLINK_FROM_OVERVIEW ► Enable removing the button from a link in the project overview. ► (>= v8.0.1)


*PROJECT_HIDE_UNSELECTABLES ► Hide into select list, all project that we can't select (closed or draft)
*PROJECT_HIDE_UNSELECTABLES ► Hide into select list, all project that we can't select (closed or draft)
Line 739: Line 733:
*PROJECT_LIST_SHOW_STARTDATE ► Shows start date of projects in project lists.
*PROJECT_LIST_SHOW_STARTDATE ► Shows start date of projects in project lists.


*PROJECT_LINK_ON_OVERWIEW_DISABLED ► Hide the "link to" form on the overview page ► (4.0)
*PROJECT_LINK_ON_OVERWIEW_DISABLED ► Hide the "link to" form on the overview page ► (v4.0)


*PROJECT_SHOW_REF_INTO_LISTS ► Add column with project ref into list (with 3.7 list of supplier invoices only, will be expanded to other lists)
*PROJECT_SHOW_REF_INTO_LISTS ► Add column with project ref into list (with 3.7 list of supplier invoices only, will be expanded to other lists)
75

edits