CustomLine
Presentation
CustomLine allows you to improve and simplify the entry of lines for the different parts of Dolibarr
Elements | row blocking | row field blocking | bulk editing | File import | Category filtering | Quick entry button |
---|---|---|---|---|---|---|
Customer sales proposal | X | X | X | X | X | X |
Customer order | X | X | X | X | X | X |
Customer invoice | X | X | X | X | X | X |
Supplier price request | X | X | ||||
Supplier order | X | Partial* | Partial* | |||
Supplier invoice | X | |||||
Intervention sheet | X | |||||
Warehouse | X | |||||
Bom | X |
Module configuration
The module configuration is carried out from the modules administration page accessible via the Home > Configuration > Modules menus by clicking on the icon at the end of the line.
Main module configuration page
The administration allows you to configure the input modes of native element lines in multiple ways:
Determining the sale price according to the margin
If the native margin module of dolibarr is activated, it is possible to activate a function to update the calculation of the sale price from the cost price. The calculation is carried out from several values:
- the purchase price or cost price excluding tax (noted here PAHT)
- the discount rate if it is entered (noted here DISCOUNT)
- the VAT rate (noted here VAT)
- an entered or predetermined value (noted here PCTMARGE)
We can configure 3 calculation modes:
- Use of the Mark rate:
Sale price = (- PAHT / ((PCTMARGE / 100) -1)) / DISCOUNT
- Use of margin coefficient
Sale price = (PCTMARGE * PAHT) / DISCOUNT * TXVAT
- Using a margin percentage
Selling price = PAHT * (1 + PCTMARGE/100) / DISCOUNT
The value used for the calculation is determined from
- the values already entered for each line and inverse calculation
- the value contained in the additional attribute associated with the selected product
Once this value has been modified, it is possible to keep or not the new sales price determined either for all customers or according to each customer.
Updating sales and purchase prices
This function allows you to update sales and purchase prices directly from the entry of product or service lines.
Management of access authorizations
CustomLine allows you to manage access authorizations when entering line fields.
Quick entry of product lines
The quick entry settings tab allows you to define quick line creation buttons on parts
![]() |
After selecting the elements on which you want to add buttons, you define them by specifying the information you want to enter quickly. |
Once validated, the part entry screen adds buttons to the interface. A tooltip specifies the setting associated with the buttons when hovering over them.
Import Configuration
Column identification
It is possible to define 3 methods to define the content of the columns to be imported:
Based on the field label
You must use the name of the columns in the import file and define the fields present in it. Please note that some fields are mandatory. |
Based on field name
In the import settings, you must enter the name of the field in the file to be imported. |
Based on the position of the field
Here you have to define the position of the field in the list, the name of the column is not used |
Operation
predefined mode of selections
Depending on the parameters applied (see section "Configuring the module's functionalities" below), for each of the elements, you will have:
![]() |
Selection of predefined products/services only |
![]() |
Selection of free products/services only |
![]() |
Selection of predefined and free products/services - native operation of Dolibarr |
Filtering by product categories
Once the function is activated, a filter icon appears to select or not one or more product categories.
Once the selection is validated, the list of products is then limited to associated products, it is possible to select several categories at the same time
A video is available explaining how filtering works
Mass editing of commercial document lines
CustomLine adds the Mass editing tab to the commercial document files listed in the module settings. Access to these tabs is done by managing the native authorizations of dolibarr (see above)
![]() |
Click on the Validate button to save your changes. The sheet of your commercial document will then display the modified data |
Updating sales and/or purchase prices
Activating this function adds a checkbox next to the price you want to update
Importing lines from commercial documents
The import is done in two steps: 1 First, the recovery of the data file on the server 2 Then, the launch of the import of the data from the file
Both steps are carried out at the same tab of the 'Mass import' element.
other features
Hiding the margin table of document cards
CustomLine adds access permissions to the margin information present on the document cards: