Dolibarr 15.0.0
16 March 2022
Dolibarr version 15.0.0 is now available (major release).
Upgrading to Dolibarr 15.0.0
Dolibarr 15.0.0 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply Dolibarr updates as new versions are released, or use Installatron's Clone feature to duplicate an existing Dolibarr install to test the 15.0.0 upgrade prior to applying it live. Get started managing your Dolibarr installations with Installatron
What's New in Dolibarr 15.0.0
For Users
Bug Fixes and Changes
- Online proposal signature
- Can define some max limit on expense report (per period, per type or expense, ...)
- Allow the use of __NEWREF__ to get for example the new reference a draft order will get after validation.
- Add option to disable globaly some notifications emails.
- #18401 Add __NEWREF__ subtitute to get new object reference.
- #18403 Add __URL_SHIPMENT__ substitute to get the URL of a shipment
- #18689 REST API module: add api key generate / modify permission.
- #18663 Make "L'Annuaire des Entreprises" the default provider for SIREN verification for French thirdparties.
- #18046 Add tags on ticket/categories
- #18326 Workflow: Close order on shipment closing.
- #18770 Can enter the buying price (for Weighted Average Price update) on lines during the reception step
- #18814 Add legal form for Sweden
- #18820 Accountancy - Add product account in import/export of thirdparty (level 3)
- Accountancy - Format FEC/FEC2 - Add column NumFacture
- Add $dolibarr_main_db_readonly in conf.php for readonly access.
- add auto creation of agenda event on supplier_order cancellation
- Add a PDF document template for Manufacturing Orders
- Add budget field into task #18986
- add cancel button to `classify reception` form on supplier_orders
- Added address field into contacts list
- Added documents page and send mail possibility in payments
- Add edit option in propal
- Added linked files page and send mail possibility in payments
- Add field date from/to in customer and supplier payment list
- Add filter from date to date into action/evt list
- Add import / export of MO and BOMLines - Close #18499
- Adding accounting export model for iSuite Expert
- add link to an element by ref
- add missing printFieldListFrom hook call on several lists
- add MRP into Object Linked Box
- Add option to hide customer code on PDF documents
- Add param $nolog to avoid logging into dol_delete_recursive_dir()
- Add sale representative in order and invoice list
- add a setting to create PDF in PDF/A - 1b format #18990
- Add `SOCIETE_SHOW_VAT_IN_LIST` to display VAT number in combo list of thirdparties
- Add sortorder on units list
- Adds PDF_HIDE_PRODUCT_LABEL_IN_SUPPLIER_LINES to hide product label in supplier order lines
- Add STOCK_MOVEMENT_LIST_HIDE_UNIT_PRICE to hide unit price on some pages
- add support for zstd compression
- Allow drag and drop on kits
- Allow exporting supplier order validation date + validation user
- Allows product ref generation after the form is validated with PRODUCT_GENERATE_REF_AFTER_FORM
- autocomplete account group when editing an account card
- Auto create invoice for payment done on an order with online payment link of order
- Can edit fields of proposal when proposal is not yet signed
- Can edit the translation key of an overwrote translation key.
- can enable/disable external calendar by default
- Can hide sender name on PDF documents
- Can select lot from a combo list of existing batch numbers (in MRP consumtion)
- Can set the default BOM on a product
- Can set/unset the usual working day of the week (friday, saturday, sunday)
- Can show progression of task into combo list of tasks
- can upload the odt file for the product doc template
- Contract - Add From/to input on search date
- Customer Display with TakePOS
- Split Sale in TakePOS
- Customer invoice template list - Add input date from/to
- date filter on project list and task list From->To
- display shipping method and tracking url on shipment list
- expense reports: conf to force amounts to be entered only including taxes
- expense reports: conf to pre-fill start/end dates with bounds of current month
- expense reports: show link to already existing overlapping expense report
- expense reports: can make project field mandatory on lines
- Expose bank account holder, label and number
- feature #18986
- field and behavior in product object
- generate intervention from time spent
- holiday: handle monthly balance updates with cronjob
- HRM integration, source code
- HRM admin - Add tabs
- HRM - Include more options to manage/custom dashboard
- Increase size of params of actions for emailcollector
- Invoice list - Use complete country select field with EEC or not
- mass action delete, no more break if at least one object has child
- mass action paid on customer invoice list
- massaction validate on supplier orders list
- Mass action send email to all attendees of an event.
- expense reports: conf to pre-fill start/end dates with bounds of current month
- Option "Add a link on the PDF to make the online payment"
- More options to generate PDF (show Frame option, width of picture option)
- Preview of pdf files of expense report lines
- print without details
- project time spent: conf to prevent recording time after X months
- rewrite bind accountancy code finding on customer and sales invoice
- Societe - Add perentity functionality on customer/supplier accountancy auxiliary account
- Survey - Add a clickable link in email send
- Social Contributions - Add from/to filter on list
- Supplier order and proposal - Add From/to input on search date
- Task - Add From/to input on search date
- Add theme option THEME_ELDY_USEBORDERONTABLE
- The Anti-CSRF protection MAIN_SECURITY_CSRF_WITH_TOKEN is on to value 1 by default
- Update SQL : install and migration
- Use an ajax call for the clicktodial feature instead of href link.
- when multiple order linked to facture, show list into note.
- when we delete several objects with massaction, if somes object has child we must see which objects are concerned and nevertheless delete objects which can be deleted
- Editing a page in website module keep old page with name .back
- External backups can be downloaded from the "About info page".
- Add massaction to switch status on sale / on purchase of a product.
Modules
- Stable module Knowledge Management
- Experimental module Event Organization Management
- Experimental module Workstations Management
- Development of module Partnership Management
For Developers
Bug Fixes and Changes
- Introduce method hasRight
- Can use textarea field into a confirm popup.
- Can use the result_mode of mysqli driver. Save memory for list count
- #18319 REST API - Shipment: Add 'close' action / endpoint / POST method.
- Add API /approve and /makeOrder for purchase orders.
- add action trigger for member excluded
- add option MAIN_IBAN_IS_NEVER_MANDATORY, MAIN_IBAN_NOT_MANDATORY, PROPAL_NOT_BILLABLE, PROPAL_REOPEN_UNSIGNED_ONLY, PROPOSAL_ARE_NOT_BILLABLE, TICKETS_MESSAGE_FORCE_MAIL
- Add code codebar column on serial/lot structure
- Add date_valid and date_approve columns in the list of supplier orders
- add hook `beforeBodyClose`
- Add hook hookGetEntity.
- add hookmanager on note pages
- add hook 'menuLeftMenuItems' to filter the leftmenu items
- Add the property "copytoclipboard" in modulebuilder
- api for knowledgemanagement
- API get list of legal form of business
- API list of staff units
- hook after rank update
- printFieldListFrom hook call on several lists
- Use lang selector when using a field key 'lang' in modulebuilder
- we need to be able to put more filters on deleteByParentField() function
- make it easier to set the `keyword`, `keywords` and `description` attributes of an ecm file object
- Experimental feature to manage user sessions in database
- Hidden option API_DISABLE_COMPRESSION is now visible in API setup page.
- Add hook printUnderHeaderPDFline on invoice PDF templates (can be used for example to add a barcode or more information on header of invoices).
Known Issues
- ALL EXTERNAL MODULES THAT WERE NOT CORRECTLY DEVELOPPED WILL NOT WORK ON V15 (All modules that forgot to manage the security token field into forms will be broken. The security token field is expected since Dolibarr v9 but a lot of external modules did not implement it).
- Update hook 'printOriginObjectLine', removed check on product type and special code. Need now reshook.
- Old deprecated module "SimplePOS" has been completely removed. Use module "TakePOS" is you need a Point Of Sale.
- The method static ActionComm::getActions($db, ...) is no more static. Use $actioncomm->getActions(...) instead (without $db param).
- The 'action=delete&file=...' has been replaced with 'action=deletefile&file=...' to avoid confusion with deletion of object lines.
- Method getDictvalue has been renamed into getDictionaryValue to match camel case rule.
- To execute shell or command line command, your code must never use method like exec, shell_exec, popen, .. but must use the built-in method executeCLI() available into core/class/utils.class.php
- Class file expeditionbatch.class.php renamed to expeditionlinebatch.class.php
- ExpeditionLineBatch::fetchAll is not static anymore and first parameter $db is removed
- ExtraFields->showOutputField parameter 4 'extrafieldsobjectkey' is now required
- CommonObject method add_object_linked now sets targettype to 'mymodule_myobject' instead of 'myobject', you can use hook 'setLinkedObjectSourceTargetType' to set your usual targettype