Dolibarr 12.0.1
9 July 2020
Dolibarr version 12.0.1 is now available (major release).
Upgrading to Dolibarr 12.0.1
Dolibarr 12.0.1 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 12.0.1 upgrade prior to applying it live. Get started managing your Dolibarr installations with Installatron
What's New in Dolibarr 12.0.1
WARNINGS
The following changes may create regressions for some external modules, but were necessary to make Dolibarr better:
- PHP 5.5 is no more supported. Minimum PHP is now 5.6+.
- Default mode for GETPOST function is now 'alphanohtml' instead of 'none'. So check when you make POST or GET requests with HTML content that you make a GETPOST('myparam', 'restricthtml') or GETPOST('myparam', 'none') if you really need posted content without sanitizing the HTML code of content (in such a case, sanitize data later)
- Removed hidden constant MAIN_EXTRAFIELDS_IN_ONE_TD that was useless.
- Reference of object including a "/" are no more allowed. It is never used by default but to support setup that introduced it, the "/" will be replaced by a "_" automatically when a reference (with a custom numbering mask that use it) is generated.
- Library jflot (replace with chartjs) was removed.
- Library geoip (replaced with geoip2) was removed.
- Hidden constant COMMANDE_VALID_AFTER_CLOSE_PROPAL was renamed into ORDER_VALID_AFTER_CLOSE_PROPAL.
- Object field ref_int is deprecated and set to 'not used', method to fetch object by only ref_int is not supported anymore.
- UserGroup class has been refactored with new architecture. Triggers of class UserGroup are now USERGROUP_CREATE, USERGROUP_MODIFY, USERGROUP_DELETE
- A new way to navigate between pages in list is available. To use it (not mandatory), you must:
- * replace line $page = GETPOST('page', 'int') with $page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int');
- * remove input field in form '<input type="hidden" name="page" value="'.$page.'">';'
- * add parameter $pagenavastextinput to value 1 when calling print_barre_liste()
12.0.1
Bug Fixes
- reposition was broken if url end with #anchor
- $_POST must be GETPOST
- 10.0 - fatal with postgreSQL
- all extrafields cleared after update of one of them
- Avoid warning when creating a module with already existing files
- change selected fields on company card
- Correct ModuleBuilder left menu
- create a deposit with amount using comma didn't work
- Entry from stripe intent were reported into SEPA payments
- Filter on status, closing opening status
- html lost on html extrafield
- Label of popup on thirdparty
- missing possibility to change entity when propal cloning
- missing setup of extrafields for MO
- Missing the tooltip when creating bank account
- Missing token
- non numeric value on comm/card.php
- SQL Problem in customer invoice list
- SQL Problem in social contribution list
- SQL Problem in supplier invoice list
- SQL syntax error when editing extrafields
- Sql type
- takepos 12 hook
- Update form erased extrafields that were hidden
- Update of extrafields date
- Update of extrafiels on draft object
- upload documents into manual ECM was reported a permission error
- Use of office365 TLS with SMTPs method.
- wrong origin
- Permission error during import
12.0.0
Highlights
- Module MO (Manufacturing Order) is available as stable module.
- Receipt printer module moved from 'development' to 'experimental'
- Add option MAIN_VIEW_LINE_NUMBER_IN_LIST for some lists.
- add numbering module for TakePOS module
- 2 new options when creating an invoice from time spent on a project : by period or by task
- Accountancy add column thirdparty on binding page
- Accountancy - Add Export for Fiducial Winfic eWinfic WinSis Compta
- Accountancy - Add Export LD compta version 10
- Accountancy - Add mode intra & export for product or service bought
- Accountancy - Add possibility to manage a short alternative label for account - Use to simplify accountancy
- Accountancy - General ledger - Add an option to search not reconciled lines
- Add accountancy code of thirdparty in contact and supplier export
- support webp image format
- Add checkbox "overwrite if exists" into ECM/DMS module
- add a link to notes in members list
- add a parameter to group same products in TakePOS
- add a parameter to sort product by label in TakePOS
- Add a profil to import contact categories
- Add company extrafields into order export
- add const CASHDESK_FORCE_DECREASE_STOCK to force batch decrementation
- add const TAKEPOS_NUMPAD_USE_PAYMENT_ICON to use icons on payment buttons
- add csv separator setup in module admin
- add dedicated substitutions keys for extrafields of type date and datetime
- add default warehouse for dispatch
- Add due date in feature "Export accounting documents"
- Add duration information for fichinter
- Start support of Dark theme into ELDY theme
- Add field author public alias for blog post on website module
- Add "finished" field on product list
- Add French association chart of accounts 2018
- Add French farm chart of accounts 2014
- Add French foundation chart of accounts 2018
- add global reduction in cash desk
- Add graph type 'piesemicircle'
- Add hook getInputIdProf. Better solution for #13228
- Add hook on margin list page
- add icon on payment buttons in cash desk
- Add include various payments and loans in accounting report with simplfified accountancy
- Add invoice stat graph and categ search
- Addition of delivery times in substitution variables
- add member to validate on dashboard
- Add method to add social network sharing buttons on blog posts
- add multicurrency columns to document lists
- add numbering module for cash desk
- add Opening Balance column to balance.php
- add opportunity status in project stats
- Add option PDF_USE_ALSO_LANGUAGE_CODE to generate PDF in 2 languages
- Add option to hide all inactive users into combo list of users.
- add PDF certificate if present on document folder
- add product if only one found
- Add product on key "Enter" in search bar
- add professional ID 1 in sepamandate document
- Add Project Ref Column on list of social/fiscal contributions
- add Project Ref in events export
- add public and private notes in propal list
- Add social networks of the company
- Add sorting for contacts of ... pages
- Add subtitution variables for url of document in backoffice
- Add tel and fax in warehouse card
- add total of value in product stat
- add total weighted amount in project list
- add units in product list
- add VAT ID in sepamandate document
- add VAT rates in free zone for product/service in TakePOS
- add weighted amount on project/opportunity
- add width and height measures in product list
- add WYSiWYG on member type's description
- [Allow constants values to be overridden by environment variables]
- Allow custom module class origine type in Mouvementstock
- allow display extrafields on pdf
- Allow extrafields on pdf : extend to line desc
- allow time consumed to be linked to another task
- Another way to navigate between pages for some lists
- Add author column in the client/supplier invoice lists and into order list
- bank account tags for invoice ODT template
- Bar Restaurant tab and Auto order
- better filter on shipment list as other list
- Better php module view admin
- Bookkeeping - Add link to document & pdf
- Bookmarks are now in top menu bar
- Can check all events in one click in setup of audited events
- Can create an deposit from order using a percentage of qty.
- Can edit option PDF_USE_ALSO_LANGUAGE_CODE from PDF setup page
- Can enter and edit stripe credit card using the Stripe card ID
- Can filter on donation status in list
- Can replace a string into all pages in website module
- Can select several fields to personalize list before submit.
- Can select which element to export in export accounting documents.
- can update contact in import model
- Cash Fence in TakePOS
- Categories and subcategories sorted by label in TakePOS
- Categories for actioncomm
- Category filter for bank and warehouse list
- Chart of accounts to Ecuador
- class tool for converting units
- Close #13011 Add button create thirdparty when creating intervention
- Colorful theme for TakePOS
- columns units in product list
- compatibility of translabel with more dictionaries
- Confirm file delete on invoice card
- "contact_civility" for ODT templates
- CUPS printing compatibility for TakePOS
- Customer command list - Add date start & date end
- display weight in shipment list
- Documentation about PHP support in Dolibarr
- Donation - Update FR CERFA to 11580*04
- Easier way to setup the different types of tax. Better visibility.
- Expedition list - Add date start & date end
- Experiment supplier packaging with option PRODUCT_USE_SUPPLIER_PACKAGING: Using price according to the minimum quantity
- Export module, add extrafields for Contract and Contract line
- Extend retained warranty to be available for all invoices
- French new regions
- hook and data id
- hook on ics generation to add more events in eventarray
- hook on product load stats
- If $dolibarr_main_force_https is set, the flag 'secure' on session
- ignore dir for apple pay with stripe
- Invoice list - Add date start & date end
- invoice list: enable multicurrency columns
- labels on reduction buttons in cash desk
- Minimum sell prices taking into account in TakePOS
- monthly view to enter time
- Multiple sales in TakePOS
- multiselect categorie client stats facturation
- no confirm discard ticket if paid
- not show linked table on add message action
- only auto print paid ticket in cash desk
- only show units columns in product list (not in service list)
- order list: enable multicurrency columns
- Overwrite tpl with module_part['tpl'] is deprecated. USe hooks
- possibility to defined rounding rules by currency
- possibility to show society info when print page
- Povide a RSS Feed for blogposts
- PRODUCT_SHOW_ORIGIN_IN_COMBO
- Project task list, add column selector and extrafields
- Propal list - Add date start & date end
- propal list: enable multicurrency columns
- RECEIPT_PRINTER_NB_CHARACT_BY_LINE and FIX: product label
- Restore version of application on main screen (for screenshots)
- Salaries list - Add date start & date end
- search on key code "enter" if defined in TakePOS
- set payment method on paid ticket in TakePOS
- Show active widget state of a RSS feed
- Show count of each category elements in category card
- Show creator, last update user of category/tag in the information tab
- Show list of users in the user category card
- show messages on ticket card
- show "New category" button in top of sub categories list
- show project label in project index
- Show units of products in stocks and hide total units if content is of diffents units
- sorting elements on project overview
- special option MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION to store in document line created form other documents lines the id of original lines and origin class line rather than origin object id and origin object type
- stats invoice graph with 3 bars (3 years instead of 2)
- supplier invoice list: enable multicurrency columns
- supplier order list: enable multicurrency columns
- supplier proposal list: enable multicurrency columns
- Support of tag {line_pos} for line numbers for tables in ODT templates
- Support some HTML contents into ODT documents
- Parameters for Bar Restaurant are grouped in same tab
- Takepos : Sort products by reference
- Takepos supplements are supported.
- The info_admin() can show text after click on other text
- The module selection uses a KanBan view by default.
- tooltip for Unit_type and scale in "Dictionary setup - Measuring Units"
- tooltip notes with first public note and then private note
- Tree view for sub-categories
- Truncate columns names when too long and show full title as popup
- upload odt models for invoices, order, proposal, thirdparties and shipments.
- Use native --convert-to feature to convert to pdf
- Add user on order list
- Various payment list - Add search date start & date end & subledger account
- visu FROM day TO day in permonth view
- Website logs are now into a separated log file.
- X-Axis on graph are shown verticaly when there is a lot of values.
- Can force ref of a variant product
WARNING FOR DOLIWAMP USERS ONLY
Only people that installed Dolibarr using the all-in-one autoinstaller for Windows called "DoliWAMP" are concerned by the following warnings:
- DoliWAMP autoinstaller for Windows is not more available on 32bits systems. Use standard package if you need to use such architecture.
- It is not possible to migrate from an installation done with the old DoliWAMP autoinstaller for Windows by using this new one. You must make a backup of your database, make a fresh installation using the new installer and reload.
- Don't forget that DoliWAMP is a good solution to make a quick test of Dolibarr on your local computer but was never recommanded as a production solution on a local desktop since a desktop computer has not a backup and security policy as good as on a server (when there is one). DoliWAMP remains a solution for fast test or demo purposes.