Changes

Jump to navigation Jump to search
Add better headers
Line 2: Line 2:  
{{TemplateDocUser}}
 
{{TemplateDocUser}}
   −
'''Help about screen:''' Other setup
+
'''Help About Screen:''' Other setup
   −
'''Menu path:''' Home -> Setup -> Other
+
'''Menu Path:''' Home Setup Other
   −
= Goal =
+
= '''Goal''' =
 
This page is built to add/edit new parameters without a dedicated page to edit them. In most cases, it is parameters for your own development, external modules, or hidden features which can allow some tweaking to your own Dolibarr instance.
 
This page is built to add/edit new parameters without a dedicated page to edit them. In most cases, it is parameters for your own development, external modules, or hidden features which can allow some tweaking to your own Dolibarr instance.
    
For standard usage of Dolibarr, this screen must be kept empty and not be used.
 
For standard usage of Dolibarr, this screen must be kept empty and not be used.
   −
= List of Known Hidden Options =
+
= '''List of Known Hidden Options''' =
 
Some options are not visible in the interface (often because they are deprecated or are beta features). In most cases you do not need these functions and their use may make the application unstable.
 
Some options are not visible in the interface (often because they are deprecated or are beta features). In most cases you do not need these functions and their use may make the application unstable.
   −
To enable/override a parameter you have to define the constant name and set it to '''1''' in '''Home -> Setup -> Other Setup''':
+
To enable/override a parameter you have to define the constant name and set it to '''1''' (unless othwerwise stated) in <code>Home Setup -> Other Setup</code>
   −
== Global Options ==
+
'''''After Global Options, this list is sorted alphabetically.'''''
 +
 
 +
 
 +
== '''Global Options''' ==
    
* MAIN_DISABLE_NOTES_TAB (core) => Show or hide notes tab in the card page
 
* MAIN_DISABLE_NOTES_TAB (core) => Show or hide notes tab in the card page
Line 126: Line 129:  
* MAIN_SHOWDATABASENAMEINHELPPAGESLINK => Show database name in upper help menu (v8.0+)
 
* MAIN_SHOWDATABASENAMEINHELPPAGESLINK => Show database name in upper help menu (v8.0+)
   −
== Look or Theme ==
+
== '''Look or Theme''' ==
 
* MAIN_OPTIMIZEFORTEXTBROWSER => Optimize output rendering for usage of a text browser (usefull for blind people)
 
* MAIN_OPTIMIZEFORTEXTBROWSER => Optimize output rendering for usage of a text browser (usefull for blind people)
 
* THEME_ELDY_DISABLE_IMAGE => Disabled images of top menu for eldy theme. (v3.8.0+)
 
* THEME_ELDY_DISABLE_IMAGE => Disabled images of top menu for eldy theme. (v3.8.0+)
Line 133: Line 136:  
* 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+)
   −
== Email and SMS ==
+
== '''Email and SMS''' ==
    
* MAIN_MAILFORM_DISABLE_ENTERKEY (>= 8.0.1) =>  Activate javascript code to disable the enter key in the MAIL form.
 
* MAIN_MAILFORM_DISABLE_ENTERKEY (>= 8.0.1) =>  Activate javascript code to disable the enter key in the MAIL form.
Line 179: Line 182:  
* MAIN_MAIL_ENABLED_USER_DEST_SELECT => Show also internal users into list of recipients of email in email sending form (v8.0+)
 
* MAIN_MAIL_ENABLED_USER_DEST_SELECT => Show also internal users into list of recipients of email in email sending form (v8.0+)
   −
== Third Parties module ==
+
== '''Third Parties Module''' ==
    
* COMPANY_AQUARIUM_CLEAN_REGEX (>= 8.0.1) => Add a REGEX rule on the third parties names. It apply a regex replacement pattern on generated code if COMPANY_AQUARIUM_CLEAN_REGEX is set. Value must be a regex with parenthesis. The part into parenthesis is kept, the rest removed. For exemple if COMPANY_AQUARIUM_CLEAN_REGEX = '^..(..)..(.*)'
 
* COMPANY_AQUARIUM_CLEAN_REGEX (>= 8.0.1) => Add a REGEX rule on the third parties names. It apply a regex replacement pattern on generated code if COMPANY_AQUARIUM_CLEAN_REGEX is set. Value must be a regex with parenthesis. The part into parenthesis is kept, the rest removed. For exemple if COMPANY_AQUARIUM_CLEAN_REGEX = '^..(..)..(.*)'
Line 203: Line 206:  
* THIRDPARTY_CAN_HAVE_CATEGORY_EVEN_IF_NOT_CUSTOMER_PROSPECT_SUPPLIER => Possible to add Categories to third parties that are not customer, prospect or supplier.
 
* THIRDPARTY_CAN_HAVE_CATEGORY_EVEN_IF_NOT_CUSTOMER_PROSPECT_SUPPLIER => Possible to add Categories to third parties that are not customer, prospect or supplier.
   −
== Proposals module ==
+
== '''Proposals Module''' ==
 
* PROPAL_CLONE_ON_CREATE_PAGE => On the create proposal page, ask if we want to create the proposal by cloning an already existing one. You should use instead the "Clone" button available on existing proposals.
 
* PROPAL_CLONE_ON_CREATE_PAGE => On the create proposal page, ask if we want to create the proposal by cloning an already existing one. You should use instead the "Clone" button available on existing proposals.
 
* MAIN_PROPAL_CHOOSE_ODT_DOCUMENT => On setup page, you'll be able to select which ODT document to use when close or cancel proposals.
 
* MAIN_PROPAL_CHOOSE_ODT_DOCUMENT => On setup page, you'll be able to select which ODT document to use when close or cancel proposals.
Line 213: Line 216:  
* MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING => add optional esign field in pdf propal (v8.0+)
 
* MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING => add optional esign field in pdf propal (v8.0+)
   −
== Order module ==
+
== '''Order Module''' ==
 
* COMMANDE_REQUIRE_SOURCE => Make the input field "Source of order" mandatory.
 
* COMMANDE_REQUIRE_SOURCE => Make the input field "Source of order" mandatory.
 
* COMMANDE_VALID_AFTER_CLOSE_PROPAL => When an order is created on a proposal close, the order is directly defined with status "Validated".
 
* COMMANDE_VALID_AFTER_CLOSE_PROPAL => When an order is created on a proposal close, the order is directly defined with status "Validated".
Line 219: Line 222:  
* ORDER_ALLOW_EXTERNAL_DOWNLOAD => When a PDF is generated, a share key is automatically set so the file can be downloaded using the share key. (v7.0+)
 
* ORDER_ALLOW_EXTERNAL_DOWNLOAD => When a PDF is generated, a share key is automatically set so the file can be downloaded using the share key. (v7.0+)
   −
== Invoice module ==
+
== '''Invoice Module''' ==
 
* MAIN_DEPOSIT_MULTI_TVA => In deposits invoice, creates one line per VAT rate from the origin document (6.0)
 
* MAIN_DEPOSIT_MULTI_TVA => In deposits invoice, creates one line per VAT rate from the origin document (6.0)
 
* FACTURE_SHOW_SEND_REMINDER => Show link "Send reminder by mail", same feature than "Send by mail" (obsolete feature).
 
* FACTURE_SHOW_SEND_REMINDER => Show link "Send reminder by mail", same feature than "Send by mail" (obsolete feature).
Line 241: Line 244:  
* INVOICE_POINTOFTAX_DATE => Add Point of Tax Date on invoices for country-specific legality reasons (v4.0+)
 
* INVOICE_POINTOFTAX_DATE => Add Point of Tax Date on invoices for country-specific legality reasons (v4.0+)
   −
== Expense Report ==
+
== '''Expense Report''' ==
 
* EXPENSEREPORT_ALLOW_OVERLAPPING_PERIODS => Can enter several expense reports on same or overlapping date periods. (v7.0+)
 
* EXPENSEREPORT_ALLOW_OVERLAPPING_PERIODS => Can enter several expense reports on same or overlapping date periods. (v7.0+)
 
* EXPENSEREPORT_USE_OLD_NUMBERING_RULE => The module ExpenseReport use numbering rules that you can setup (like other modules do). If you need to keep the hard coded numbering rule of expenses report used in 6.0 set this constant to '1' (>=v7.0+)
 
* EXPENSEREPORT_USE_OLD_NUMBERING_RULE => The module ExpenseReport use numbering rules that you can setup (like other modules do). If you need to keep the hard coded numbering rule of expenses report used in 6.0 set this constant to '1' (>=v7.0+)
Line 247: Line 250:  
* MAIN_USE_EXPENSE_RULE => This feature allows you to set a variety of rules per user/group/all so they can only create reports within their limits. (v7.0+)
 
* MAIN_USE_EXPENSE_RULE => This feature allows you to set a variety of rules per user/group/all so they can only create reports within their limits. (v7.0+)
   −
==VAT Report==
+
== '''VAT Report''' ==
 
* MAIN_INCLUDE_ZERO_VAT_IN_REPORTS => Include lines with VAT to 0% (for "auto-liquidation" in EEC) (V8.0.3+)
 
* MAIN_INCLUDE_ZERO_VAT_IN_REPORTS => Include lines with VAT to 0% (for "auto-liquidation" in EEC) (V8.0.3+)
   −
== Export module ==
+
== '''Export Module''' ==
 
* EXPORT_CSV_SEPARATOR_TO_USE => String value to use as default separator to delimit fields of exported files (by default Dolibarr uses ","). Example: EXPORT_CSV_SEPARATOR_TO_USE=;
 
* EXPORT_CSV_SEPARATOR_TO_USE => String value to use as default separator to delimit fields of exported files (by default Dolibarr uses ","). Example: EXPORT_CSV_SEPARATOR_TO_USE=;
 
* EXPORT_CSV_FORCE_CHARSET => Choose the charset used in the output file built by the CSV exporter. By default it is ISO-8859-1. Example: EXPORT_CSV_FORCE_CHARSET= utf-8
 
* EXPORT_CSV_FORCE_CHARSET => Choose the charset used in the output file built by the CSV exporter. By default it is ISO-8859-1. Example: EXPORT_CSV_FORCE_CHARSET= utf-8
Line 256: Line 259:  
* USE_STRICT_CSV_RULES => Use strict/real CSV format for export. Do not clean/replace CR+LF with '\n' but quote them using the escaping CSV char (").
 
* USE_STRICT_CSV_RULES => Use strict/real CSV format for export. Do not clean/replace CR+LF with '\n' but quote them using the escaping CSV char (").
   −
== Agenda module ==
+
== '''Agenda Module''' ==
 
* 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).
Line 262: Line 265:  
* 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)
   −
== Products module ==
+
== '''Products Module''' ==
 
* MAIN_PRODUCT_DISABLE_CUSTOMCOUNTRYCODE => Avoid Custom code and country of origin to be set as product description when added to Propal/Order/Invoice
 
* MAIN_PRODUCT_DISABLE_CUSTOMCOUNTRYCODE => Avoid Custom code and country of origin to be set as product description when added to Propal/Order/Invoice
 
* PRODUCT_ADD_TYPE_IN_DOCUMENTS => Add text "Product" or "Service" at beginning of details lines on built PDF documents.
 
* PRODUCT_ADD_TYPE_IN_DOCUMENTS => Add text "Product" or "Service" at beginning of details lines on built PDF documents.
Line 279: Line 282:  
* MAIN_DISABLE_FREE_LINES (>= 8.0) => Disallow using free lines to add line in documents
 
* MAIN_DISABLE_FREE_LINES (>= 8.0) => Disallow using free lines to add line in documents
   −
== Services module ==
+
== '''Services Module''' ==
 
* SERVICE_ARE_ECOMMERCE_200238EC => If this option is enabled, services are processed like eServices according to directive of EU Council Directive 2002/38/EC (http://ec.europa.eu/taxation_customs/taxation/vat/traders/e-commerce/article_1610_en.htm). Default VAT rate are based on buying country instead of selling country for BtoC sells.
 
* SERVICE_ARE_ECOMMERCE_200238EC => If this option is enabled, services are processed like eServices according to directive of EU Council Directive 2002/38/EC (http://ec.europa.eu/taxation_customs/taxation/vat/traders/e-commerce/article_1610_en.htm). Default VAT rate are based on buying country instead of selling country for BtoC sells.
   −
== Stocks ==
+
== '''Stocks''' ==
 
* MAIN_SERVICES_ARE_ECOMMERCE_200238EC (< 8) =>  
 
* MAIN_SERVICES_ARE_ECOMMERCE_200238EC (< 8) =>  
   Line 289: Line 292:  
* SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED => Disable stock dispatch when total expected was already received.
 
* SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED => Disable stock dispatch when total expected was already received.
   −
== Shipments ==
+
== '''Shipments''' ==
 
* STOCK_WAREHOUSE_NOT_REQUIRED_FOR_SHIPMENTS (>= 8.0.1) => If set, you can add a shipment line, with no stock source defined.
 
* STOCK_WAREHOUSE_NOT_REQUIRED_FOR_SHIPMENTS (>= 8.0.1) => If set, you can add a shipment line, with no stock source defined.
    
* SHIPMENT_GETS_ALL_ORDER_PRODUCTS => Add all order lines in shipment, including the one with 0 in quantity
 
* SHIPMENT_GETS_ALL_ORDER_PRODUCTS => Add all order lines in shipment, including the one with 0 in quantity
   −
== Point of Sale ==
+
== '''Point of Sale''' ==
 
* CASHDESK_SHOW_KEYPAD => Show a mouse key pad into Point Of Sale.
 
* CASHDESK_SHOW_KEYPAD => Show a mouse key pad into Point Of Sale.
 
* POS_ADDON = Set this value to an existing numbering module rule (for example 'mod_facture_terre', 'mod_facture_mars', ...) to force the numbering module to us to define the invoice ref when invoice is created by the POS. For example setting value POS_ADDON to 'mod_facture_terre' will use the numbering module 'terre' for invoice generated from POS, whatever is the numbering rule defined into invoice module setup (you can also use POS_NUMBERING_TERRE_FORCE_PREFIX and POS_NUMBERING_MARS_FORCE_PREFIX variable to change the prefix used).
 
* POS_ADDON = Set this value to an existing numbering module rule (for example 'mod_facture_terre', 'mod_facture_mars', ...) to force the numbering module to us to define the invoice ref when invoice is created by the POS. For example setting value POS_ADDON to 'mod_facture_terre' will use the numbering module 'terre' for invoice generated from POS, whatever is the numbering rule defined into invoice module setup (you can also use POS_NUMBERING_TERRE_FORCE_PREFIX and POS_NUMBERING_MARS_FORCE_PREFIX variable to change the prefix used).
   −
== Contracts ==
+
== '''Contracts''' ==
 
* CONTRACT_SUPPORT_PRODUCTS => Products are also suggested into module contract.
 
* CONTRACT_SUPPORT_PRODUCTS => Products are also suggested into module contract.
   −
== Projects module ==
+
== '''Projects Module''' ==
 
* PROJECT_DISABLE_UNLINK_FROM_OVERVIEW (>= 8.0.1) => Enable removing the button from a link in the project overview.
 
* PROJECT_DISABLE_UNLINK_FROM_OVERVIEW (>= 8.0.1) => Enable removing the button from a link in the project overview.
 
* 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.
Line 314: Line 317:  
* PROJECT_ALLOW_COMMENT_ON_TASK => Add comment feature on project task
 
* PROJECT_ALLOW_COMMENT_ON_TASK => Add comment feature on project task
   −
== Foundation module ==
+
== '''Foundation Module''' ==
 
* MEMBER_URL_REDIRECT_SUBSCRIPTION => Link called and shown when a member account is autocreated in member module by a guest user.
 
* MEMBER_URL_REDIRECT_SUBSCRIPTION => Link called and shown when a member account is autocreated in member module by a guest user.
 
* MEMBER_EXT_URL_SUBSCRIPTION_INFO => Link of external page pointed by the "Show here" link added in front off payment cell, into the page to make online subscription.
 
* MEMBER_EXT_URL_SUBSCRIPTION_INFO => Link of external page pointed by the "Show here" link added in front off payment cell, into the page to make online subscription.
   −
== Interventions module ==
+
== '''Interventions Module''' ==
 
* FICHINTER_CLASSIFY_BILLED => Allow to classify an intervention card as "Billed". This add also trigger FICHINTER_CLASSIFY_BILLED into list of possible automatic event into agenda.
 
* FICHINTER_CLASSIFY_BILLED => Allow to classify an intervention card as "Billed". This add also trigger FICHINTER_CLASSIFY_BILLED into list of possible automatic event into agenda.
 
* FICHINTER_DISABLE_DETAILS => Disable entry of details line on intervention. Can validate with no line.
 
* FICHINTER_DISABLE_DETAILS => Disable entry of details line on intervention. Can validate with no line.
   −
== Suppliers module ==
+
== '''Suppliers Module''' ==
 
* FOURN_PRODUCT_AVAILABILITY => On the Suppliers price page of the products, activate the supplier product availability. This is duplicate feature with delivery_delay introduced with 3.8.
 
* FOURN_PRODUCT_AVAILABILITY => On the Suppliers price page of the products, activate the supplier product availability. This is duplicate feature with delivery_delay introduced with 3.8.
 
* RELOAD_PAGE_ON_SUPPLIER_CHANGE => On creation of a supplier order/invoice, reload form with supplier-specific details when supplier is selected from drop-down list.
 
* RELOAD_PAGE_ON_SUPPLIER_CHANGE => On creation of a supplier order/invoice, reload form with supplier-specific details when supplier is selected from drop-down list.
Line 332: Line 335:  
* SUPPLIER_ORDER_EDIT_BUYINGPRICE_DURING_RECEIPT => Can modify the buying price used for PMP calculation when making a stock reception on a supplier order. (v6.0+)
 
* SUPPLIER_ORDER_EDIT_BUYINGPRICE_DURING_RECEIPT => Can modify the buying price used for PMP calculation when making a stock reception on a supplier order. (v6.0+)
   −
== Bank module ==
+
== '''Bank Module''' ==
 
* BANK_CAN_RECONCILIATE_CASHACCOUNT (3.8) => Can reconciliate cash accounts
 
* BANK_CAN_RECONCILIATE_CASHACCOUNT (3.8) => Can reconciliate cash accounts
 
* BANK_DISABLE_CHECK_DEPOSIT => Disable check deposit feature
 
* BANK_DISABLE_CHECK_DEPOSIT => Disable check deposit feature
Line 338: Line 341:  
* 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
   −
== Emailing module ==
+
== '''Emailing Module''' ==
 
* 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 'SERVER_NAME', 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 'SERVER_NAME', 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 use 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 use 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.
Line 412: Line 415:  
* '''MAIN_PROFID6_IN_SOURCE_ADDRESS''' ► Show Professional ID 6 in source address of PDF to comply with legalities in certain countries ► (v8.0.1+)
 
* '''MAIN_PROFID6_IN_SOURCE_ADDRESS''' ► Show Professional ID 6 in source address of PDF to comply with legalities in certain countries ► (v8.0.1+)
   −
== WYSIWYG Editor ==
+
== '''WYSIWYG Editor''' ==
    
* FCKEDITOR_ENABLE_DETAILS_FULL => Can cut and paste external images (hosted on external server) into description of proposal, orders or invoices. WARNING: PDF generation is not guaranted with this. Also if the image is removed or renamed by the image hoster, your proposal, order or invoice will be broken.
 
* FCKEDITOR_ENABLE_DETAILS_FULL => Can cut and paste external images (hosted on external server) into description of proposal, orders or invoices. WARNING: PDF generation is not guaranted with this. Also if the image is removed or renamed by the image hoster, your proposal, order or invoice will be broken.
   −
== BlockedLog ==
+
== '''BlockedLog''' ==
    
* BLOCKEDLOG_DISABLE_NOT_ALLOWED_FOR_COUNTRY => Make disable of module "blockedlog" not possible for countries code defined into value. Example: 'FR,...'
 
* BLOCKEDLOG_DISABLE_NOT_ALLOWED_FOR_COUNTRY => Make disable of module "blockedlog" not possible for countries code defined into value. Example: 'FR,...'
   −
== MultiCurrency ==
+
== '''MultiCurrency''' ==
    
* MAIN_MULTICURRENCY_ALLOW_SYNCHRONIZATION => Enable CurrencyLayer API synchronization
 
* MAIN_MULTICURRENCY_ALLOW_SYNCHRONIZATION => Enable CurrencyLayer API synchronization
75

edits

Navigation menu