Dolibarr 6.0.2
19 October 2017
Dolibarr version 6.0.2 is now available (major release).
Upgrading to Dolibarr 6.0.2
Dolibarr 6.0.2 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 6.0.2 upgrade prior to applying it live. Get started managing your Dolibarr installations with Installatron
What's New in Dolibarr 6.0.2
Highlights
- Add experimental BlockeLog module (to log business events in a non reversible log file).
- Add a payment module for Stripe.
- Add module "Product variant" (like red, blue for the product shoes)
- Accountancy - Activate multi-journal & Add journal_label to database (FEC)
- Add a tracking id into mass emailing.
- Tax system more compatible with the new tax rollout in India (IGST / CGST / SGST).
- Add calculation function for Loan schedule
- Add "depends on" and "required by" into module informations
- Add hidden option THIRDPARTY_INCLUDE_PARENT_IN_LINKTO
- Add key __USERID__ and __ENTITYID__ as key for dynamic filters.
- Add last activation author and ip of modules
- Add mass actions (pdf merge and delete) for interventions
- Add module resources import/export
- Add option PROJECT_THIRDPARTY_REQUIRED
- Add page statistics for project tasks
- add property to show warnings when activating modules
- add rapport file for supplier paiement
- Add statistics on supplier tab.
- Add tooltip help on shipment weight and volume calculation
- An external module can hook and add mass actions.
- Better reponsive design
- Bookmarks are into a combo list.
- Bulk actions available on supplier orders
- Can add a background image on login page
- Can change customer from POS
- Can clone expense report on another user
- Can control constants values into file integrity checker
- Can define default values for create forms.
- Can define default filters for list pages.
- Can define default sort order for list pages.
- Can deploy an external module from the module setup area.
- Can disable all overwrote translations in one click.
- Can edit background color for odd and even lines in tables
- Can filter on code in dictionnaries
- Can filter on year and product tags on the product statistic page
- Can import users
- Can read time spent of others (hierarchy only or all if granted)
- Can send an email to a user from its card.
- Can send email to multiple destinaries from the mailform combo list.
- Can set margins of PDFs
- Can set number of dump to keep with job "local database backup"
- Can sort customer balance summary on date.
- Can sort thumbs visible on product card.
- Can use a credit note into a "down payment/deposit".
- Can use dol_fiche_end without showing bottom border.
- Can use translations into all substitutions (watermark, freetext...)
- Change to allow a specific numbering rule for invoice with POS module.
- convert exceiss received to reduc
- custom dir is enabled dy default on first install.
- Description of feature of a module visible into a dedicated popup.
- Direct open of card after a search if one record only found.
- download button
- Enable bulk actions delete on supplier invoices.
- Extrafields support formulas to be computed using PHP expressions.
- Feature to crop/resize images available on user and expense reports.
- Filechecker can include custom dir and report added files.
- fix listview class and add a demo for product list
- [FP17] Accountancy - Add select field in list of accounts
- get amount base on hourly rate for ficheinter
- hidden Easter egg to display commitstrip strip on login page
- Include an hourglass icon when we click on online payment button
- Index upload files into database.
- Introduce mass action on product list ('delete' for the moment)
- Introduce mass actions on contacts
- Introduce option MAIN_HTTP_CONTENT_SECURITY_POLICY
- It's easier to switch between sandbox and live for paypal
- Mass action delete available on project and tasks
- Move login information on home page into a widget
- new demo entry page
- No external check of version without explicit click in about page.
- ODT docs for USER USERGROUP CONTRACT and PRODUCT class
- odt usergroup
- On invoices generated by template, we save if invoice come from a source template.
- option to copy into attachement files of events, files send by mail (with auto event creation)
- PDF with numbertoword
- Permit multiple file upload in linked documents
- PHP 7.1 compatibility
- Reduce memory usage by removing deprecated constant loading.
- Report page and menu for suppliers paiements
- Show by default README.md file found into root dir of ext module.
- Show company into combo list of projects
- show files in the bank statement + download
- Show local taxes in facture list
- Show local taxes in supplier facture list
- Small PDF template for products
- Option SUPPLIER_ORDER_EDIT_BUYINGPRICE_DURING_RECEIPT
- The substitution keys available for emailing edition are now visible into a popup.
- Uniformize behaviour: Action to make order is an action button.
- Use autocompletion on the "Add widget list".
- Use html5 type "number" on select field for year and duration.
- Can use pdktk to concat mass pdf because tcpdf generate avoid to split large file into multiple smaller file (all have same size) encounter issue with mailer provider virtual delivery service
- Default theme of v6 is cleaner.
- When down payment is entered, discount to reuse into final invoice is automatically created. This save one click into invoice workflow.
- Add UI to configure MEMBER_NEWFORM_FORCETYPE
- #2763 Go to document block after clicking in Generate document button
- #6280: Generate PDF after creating an invoice from a customer order
- #6915 Simplest change.
- Uniformize the look and feel with v6 new look.
For Developers
- Add a lot of API REST: dictionaryevents, memberstypes, ...
- Big refactorization of multicompany transverse mode.
- getEntity function use true $shared value by default.
- Add font-awesome css.
- Add function ajax_autoselect
- Add function dolMd2Html
- Add hook doUpgrade2
- Add hook "formatNotificationMessage"
- Add index and constraints keys on supplier proposal detail table
- Add phpunit to check the engine is defined into sql create files.
- Add project and Hook to Loan
- Add REST API to push a file.
- Allow extrafields list select to be dependands on other standard list and not only other extrafields list
- Architecture to manage search criteria persistance (using save_lastsearch_values=1 on exit links and restore_lastsearch_values=1 in entry links)
- data files are now also parsed by phpunit for sql syntax
- Hook to allow inserting custom product head #6001
- Introduce fields that can be computed during export in export profiles.
- Introduce function dol_compress_dir
- Removed commande_pdf_create, contract_pdf_create,expedition_pdf_create, facture_pdf_create, delivery_order_pdf_create, task_pdf_create, project_pdf_create, propale_pdf_create, supplier_invoice_pdf_create, supplier_order_pdf_create, supplier_proposal_pdf_create deprecated functions
- tooltip can be on hover or on click with textwithpicto function.
- Upgrade jquery to 3.3.1 and jquery-ui to 1.12
WARNINGS
The following changes may create regression for some external modules, but were necessary to make Dolibarr better.
- The hook getNodeList has been replaced by a normalized 'addreplace' hook getDirList.
- The trigger USER_SETINGROUP and USER_REMOVEFROMGROUP has been replaced with trigger USER_MODIFY.
- The page societe/soc.php was renamed into societe/card.php to match page naming conventions.
- The page compta/facture.php was renamed into compta/facture/card.php to match page naming conventions.
- The signature of method ->delete() of class Product and PriceExpression was changed from ->delete(id, notrigger) to ->delete(User, notrigger) to match standard dev rules.
- The signature of method ->delete() of class Adherent was changed from ->delete(id) to ->delete(id, User, notrigger) to match standard dev rules.
- Removed CommonObject::displayMarginInfos (was deprecated in 3.8). Use same method into html.formmargin.class.php
- Removed Societe::set_commnucation_level (was deprecated in 4.0). Was not used.
- Removed the trigger file of PAYPAL module that stored data that was not used by Dolibarr. The trigger event still exists, but if an external module need action on it, it must provides itself its trigger file.
- Use $conf->global->MULTICOMPANY_TRANSVERSE_MODE instead $conf->multicompany->transverse_mode. So, if you set var $multicompany_transverse_mode to 1 into your conf file, you must remove this line and a new key into the Home - setup - other admin page.
- Use getEntity('xxx') instead getEntity('xxx', 1) and use getEntity('xxx', 0) instead getEntity('xxx')
- Some other change were done in the way we read permission of a user when module multicompany is enabled. You can retreive the old behavior by adding constant MULTICOMPANY_BACKWARD_COMPATIBILITY to 1.
- The hook formObjectOptions was not implemented correctly in previous version. Sometimes, you had to return output content by doing a print into function, sometimes by returning content into "resprint". This has been fixed to follow hook specifications so you must return output into "resprint".