Dolibarr 8.0.3
6 November 2018
Dolibarr version 8.0.3 is now available (major release).
Upgrading to Dolibarr 8.0.3
Dolibarr 8.0.3 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 8.0.3 upgrade prior to applying it live. Get started managing your Dolibarr installations with Installatron
What's New in Dolibarr 8.0.3
8.0.3
Bug Fixes
- According to french law, if seller is in France and buyer isn't in UE and isn't a company, TVA used = TVA product
- Amount when using mutlicurrency on PDF
- Backup of database without mysqladmin available from cron.
- Bad label on delete button
- bad link in notification
- Bad position of hook formattachOptions call
- Can't create shipping if have shipping line's extrafields
- check !empty exclude select element
- content lost when editing a label with "
- correct migration of old postgresql unique key
- credit note progression
- default accounting accounts on loan creation #9643
- Delete of draft invoice
- deletion on draft is allowed if we are allwoed to create
- Do not show check box if not applicable
- exclude element of the select
- extrafields of taks not visible in creation
- filter on employee
- invoice stats: situation invoices were not counted
- keep external module element when adding resource
- langs fr
- Link template invoice to contract
- Look and feel v8. Missing button "Create category"
- Menu to show/edit Users categories was missing
- missing name alias field in societe import/export #9091
- missing symbol for indian rupies
- Missing transaction around action
- modify parenting before task deletion
- nb of session in title
- need to filter on current entity on replenish
- number mailing for a contact with multicompany
- Option for prof id mandatory not working with custom type of company
- Option MAIN_DISABLE_NOTES_TAB #9611
- Pagination stats
- pdf typhon: order reference duplicate
- position 0 for emails templates
- previous situation invoice selection
- Product marge tabs on product card
- Product margin tab and credit note
- propal pdf: missing parenthesis for customs code
- properties on proposal must not be modified if error
- qty not visible for a lot when making shipment on a dedicated stock
- Quick hack to solve pb of bad definition of public holidays
- remain to pay for credit note was wrong on invoice list
- replenish wasn't caring about supplier price min quantity #9561
- Required extrafield value numeric should accept '0'
- ressource list with extrafields
- restore last seach criteria
- Selection of addmaindocfile is lost on error
- Sending of reminder for expired subscriptions
- shared link ko on proposals
- showOptionals: column mismatches
- situation invoice total with credit note
- situation invoice prev percent
- special code on create supplier invoice from supplier order
- Symbol of currency in substitution variables
- The max size for upload file was not corectly shown
- the member e-mail on resign and validation.
- thirdparty property of object not loaded when only one record
- title
- Title problem on admin RSS module
- Tooltip on invoice widget
- Total of timespent
- trackid into email sent from member module.
- translation in select unit form
- use discount with multicurrency
- Variable name
- When we delete a product, llx_product_association rows are not deleted
- when we're just admin and not super admin, if we create new user with transverse mode, we don't see it then we can't add him in usergroup
- wrong function name
- wrong occurence number of contract on contact card, we must only count externals
- wrong value for module part and return access denied
- Wrong variable name
- XSS vulnerability reported by Mary Princy E
8.0.2
Bug Fixes
- Error when listing invoices
- Bug: html error - div inside span on graphs
- inconsistency behaviour. option FACTURE_ENABLE_NEGATIVE_LINES
- Add paypal error message in alert email when online payment fails.
- better compatibility with multicompany
- capital must be empty and not 0 if undefined
- character making error on bill list
- Entering negative price on order.
- Expedition not showing extrafields on creation.
- Homepage links were using wrong topmenus
- inconsistency behaviour on option FACTURE_ENABLE_NEGATIVE_LINES
- invert mime type and name.
- invoice popup hide localtax2 and 3 if not defined.
- Lose filter on payment type or category after a sort on invoice list.
- Maxi debug to allow to load chart of account with multicompany.
- Missing translation in predefined email to membership renewal.
- Mixing tickets of different thirdparties.
- "Other ..." link so the "Back to" link works.
- PDF address: handle when contact thirdparty is different from thirdparty of document
- Problems with permissions of module to record payment of salaries
- remove debug
- Several fixes on the management of minimal amount for orders
- wrong var name
8.0.1
Bug Fixes
- adding GROUP BY for PostgreSQL
- API template for list pages in module builder
- API template for record page to delete a record
- a removed option was still in setup
- badge on time spent on project and tasks
- Delete file on smartphone
- Fetch function will fetch comments
- Fetch task will now fetch comments
- $fk_account is always empty, must be $soc->fk_account
- Force stripe api version to avoid trouble if we update stripe api
- get_product_vat_for_country functions.lib.php
- Get templates in a forced language
- hook on dispatch order fourn
- Language selection lost if error during creation of email template
- Look and feel v8
- propal.class.php
- Add calls to fetchComments function
- Remove fetchComments from project and task fetch function
- remove internal property isextrafieldmanaged from API returns
- sql error
- table llx_chargessociales doesn't exists
- trans on null object
- vat rate code not returned by get_product_vat_for_country
- warning for late template invoices to remove when suspended
- Add hidden option MAIN_xxx_IN_SOURCE_ADDRESS to solve legal issues on PDF
- Table llx_facture_rec_extrafields missing after migration
8.0.0
Highlights
- Experimental module: Ticket
- Experimental module: WebDAV
- Accept anonymous events (no user assigned)
- Accountancy - Add import on general ledger
- Accountancy - Show journal name on journal page and hide button draft export (Add an option in admin)
- Can create event from record card of a company and/or member
- Add a button to create Stripe customer from the customer Payment mode tab
- Add accounting account number on product tooltip
- Add any predefined mail content
- Add arrows to navigate into containers in experimental website module
- Add a tab to specify accountant/auditor of the company
- Add Date delivery and Availability on Propals List
- Add date in goods reception supplier order table
- Add delivery_time_days of suppliers in export profile
- Add Documents'tab to expedition module
- Use dol_print_phone in thirdparty list page to format phone
- Add entry for the GDPR contact
- Add extrafield type "html"
- Add file number in accountant card and update export filename
- Add files management on products lot
- add filter on project task list
- Add hidden option COMPANY_AQUARIUM_CLEAN_REGEX to clean generated
- add internal stripe payment page for invoice
- Add key __USER_REMOTE_IP__ into available substitution variables
- Add link between credit note invoice and origin
- Add linked file tab to vat
- add link to stripe's info in bank menu
- Add margin filters
- Add mass action enable/disable on cron job list
- Add mass action on project's list to close projects
- Add method to register distributed payments on invoices
- Add multicurrency support for product buy price for supplier propales, orders and invoices
- Add name of day in the timesheet input page per day.
- add new parameters for tcpf encryption
- add optional esign field in pdf propal
- Add option BANK_ACCOUNT_ALLOW_EXTERNAL_DOWNLOAD
- Add option CONTRACT_SYNC_PLANNED_DATE_OF_SERVICES
- Add param $dolibarr_main_restrict_ip in config file to limit ips
- add pdf function to check if pdf file is protected/encrypted
- Add pdf template for stock/warehouse module
- Add phone format for a lot of countries
- Add product and product categories filters on customer margins
- Add product categories filter on product margin
- Add romanian chart of accounts
- Add stats in salaries module
- add stripe transaction
- Add tab contact on supplier proposals
- Add total of time spent in timespent page at top of page too.
- Add trigger CONTRACT_MODIFY
- Add triggers on ECM object and add fill src_object_type/id fields
- Add type of website container/page into dictionary
- advance target filtering can be used everywhere with tpl and fk_element
- Allow negative quantity for dispatch (supplier order)
- bank reconcile: checkbox to select all bank operations
- Better performance with openldap
- Can add filter actiontype and notactiontype on event ical export
- Can add product in supplier order/invoice even w/o predefined price
- cancel orders on massaction
- Can crop image files attached in "document" tabs of a member
- Can delete dir content in media and ECM module recursively
- Can dispatch if more than ordered (if hidden option set)
- Can edit the text color for title line of tables
- Can enter time spent from the list of time spent of project
- Can export leave requests
- Can filter on account range in general ledger grouped by account
- Can filter on country and taxid into the binding page
- Can filter on progression in timesheet
- Can fix the bank account of a payment if payment not conciliated
- Can force usage of shared link for photo of products
- Can get template of email from its label
- Can see Unit Purchase Value of product in stock movement
- Can select from the user list into send form email (For field to and CC)
- Can select sample to use when creating a new page
- can send mail from project card
- Can set position of images in module tickets
- Can set the reply-to into email sent
- Can set the start/end date of service line in invoice templates
- Can share any file from the "Document" tab.
- Can sort on priority in task scheduler list
- Can sort order of files in attach tab for leave and expensereport
- Can use setValueFrom without user modification field
- Cat set the encryption algorithm for extrafields of type password
- check idprof1 for country pt
- default add action: new param $backurlforcard to redirect to card
- default warehouse field for products + prefill warehouses when dispatching supplier orders
- Display price HT on all commercial area boards
- display total on contract service list
- display weight volume in proposal
- Edit of extrafields position page on the edit form
- Experimental DAV module provides a public and private directory
- export filter models can be share or not by user
- Externalsite module can accept iframe content.
- Filter export model is now by user
- Finish implementation of option PRODUIT_CUSTOMER_PRICES_BY_QTY_MULTIPRICES
- generalize use of button to create new element from list
- hidden conf AGENDA_NB_WEEKS_IN_VIEW_PER_USER to set nb weeks to show into per user view
- hidden conf to assign category to thirparty that are neither customer nor prospect or supplier
- hidden conf to set nb weeks to show into user view
- hidden option MAIN_DISABLE_FREE_LINES
- improve way of adding users/sales representative to thirdparty
- Introduce option THIRDPARTY_QUICKSEARCH_ON_FIELDS to personalize fields use to search on quick search.
- Introduce permission "approve" for "leave request" like for "expense report"
- Load product data optional fields to the line -> enables to use "line_options_{extrafield}"
- Look and feel v8 - Show Picto "+" on all links "Add record"
- Look and feel v8: Use a different picto for delete and unlink
- mail templates for projects
- Module variant supported on services
- monthly VAT report show "Claimed for the period" + "Paid during this
- Mutualize code for action="update_extras"
- On invoice card, show accounting account linked
- Online payment of invoice and subscription record the payment
- OnSearchAndListGoOnCustomerOrSupplierCard conf
- Optimize load of hooks classes (save 1-5Kb of memory)
- Option MAIN_SHOW_REGION_IN_STATE renamed into MAIN_SHOW_REGION_IN_STATE_SELECT are more complete
- Option to force all emails recipient
- Hidden option to send to salaries into emails forms
- order minimum amount
- add price in burger menu on mouvement list
- Report a list of leave requests for a month
- Section of files generated by mass action not visible if empty
- send mails from project card
- Show also size in bytes in tooltip if visible unit is not bytes
- Show keyboard shortcut of nav arrow into tooltip
- Show last result code of cron jobs in error in red
- Show region in company info & Global option to show state code MAIN_SHOW_STATE_CODE
- Show total number of records by category
- Show total of time consumed in week in time spent entry page
- Stripe online payments reuse the same stripe customer account
- Suggest link to pay online for customer orders
- supplier credit notes is now supported like for customer credit notes
- supplier order/order lines export: add supplier product ref
- supplier relative discounts
- Support alternative aliases of page name in website
- syslog file autoclean
- thirdparty categ filter on lists
- Use a css style for weekend in time spent
- Use common substitution rule for language to get translation in ODT
- Variable __ONLINE_PAYMENT_URL__ available in email templates
WARNINGS (regressions)
- Remove old deprecated hook 'insertExtraFields'. Triggers must be used for action on CRUD events.
- Hook 'maildao' was renamed into 'mail' into the method sendfile that send emails, and method was renamed from 'doaction' into 'sendMail'.
- Rename trigger CONTRACT_SERVICE_ACTIVATE into LINECONTRACT_ACTIVATE and CONTRACT_SERVICE_CLOSE into LINECONTRACT_CLOSE
- Remove triggers *_CLONE. The trigger CREATE with context 'createfromclone' is already called so this is a duplicated feature. Cloning is not a business event, the business event is CREATE, so no trigger required.
- PHP 5.3 is no more supported. Minimum PHP is now 5.4+
- Remove the old deprecated code of doActions and getInstanceDao in canvas. The doActions of standard hooks are already available and are better.
- Removed method fetch_prods() and get_each_prod() not used, keep only get_arbo_each_prod() that is better.
- The hook contaxt commcard has been renamed thirdpartycomm
- The hook contaxt thirdpartycard has been renamed thirdpartycontact
- Remove method Categorie:get_nb_categories() that was not used.
- Hook getnomurltooltip provide a duplicate feature compared to hook getNomUrl so all hooks getnomurltooltip are now replaced with hook getNomUrl.
- The substitution key __CONTACTCIVNAME__ is no longer present, it has been replaced by __CONTACT_NAME_{TYPE}__ where {TYPE} is contact type code (BILLING, SHIPPING, CUSTOMER, ... see contact type dictionnary).
7.0.4
Bug Fixes
- button create expense report
- According to french law, if seller is in France and buyer isn't in UE and isn't a company, TVA used = TVA product
- Add calls to fetchComments function
- better compatibility with multicompany
- case when we valid form with keyboard
- character making error on bill list
- check !empty exclude select element
- combo into popup become crazy with IE10
- combo of stock in popup are crazy in IE
- Deletion of files in migration
- exclude element of the select
- extrafieldkey
- Fetch function will fetch comments
- Fetch task will now fetch comments
- filter supplier invoice list by societe name.
- $fk_account is always empty, must be $soc->fk_account
- Force stripe api version to avoid trouble if we update stripe api
- getEntity project and not projet
- Get templates in a forced language
- global $mysoc missing (to avoid php notice on lines 279, 280 & 281)
- Injection
- invoice stats: situation invoices were not counted
- keep context filter on contact list on change column displayed
- Keep same project when creating shipping from order
- langs fr
- Lose filter on payment type or category after a sort on invoice list
- Missing behavior
- missing hook to edit sql
- multicompany compatibility !
- need to filter on current entity on replenish
- Option MAIN_DISABLE_NOTES_TAB #9611
- page must always be 0 when we search (to avoid case : when we're on page 3 and we're looking for a precise thirdparty, we stay on page 3 and nothing's displaied)
- Pagination on related item pages
- Pagination on withdraw request list
- PDF address: handle when contact thirdparty different from document thirdparty
- PHP warning, undefined index notnull
- Product marge tabs on product card
- Product margin tab and credit note
- propal: correctly preset project when creating with origin/originid
- remain to pay for credit note was wrong on invoice list
- remove debug
- Remove fetchComments from project and task fetch function
- remove rowid for multicompany compatibility
- Search on Ref project on order list
- search on ref project on propal list
- showOptionals: column mismatches
- SQL Injections reported by mu shcor (ADLab of Venustech)
- stock replenish with multientity
- table llx_chargessociales doesn't exists
- we must see number of all shared projects
- when stock is empty for current entity but > 0 in other entity, until this commit product wasn't displaied on replenishment, it must depends on multientity stock sharing
- when we're just admin and not super admin, if we create new user with transverse mode, we don't see it then we can't add him in usergroup
- wrong function name
- Wrong position of firstname lastname
- wrong value for module part and return access denied
- Wrong variable and trigger name
7.0.3
Bug Fixes
- 7.0 task contact card without withproject parameters
- Backport better compatibility fix
- to get formatted price as substitution vars
- Avoid converting into reduction twice and draft invoice
- bad result on fetch ProductStockEntrepot
- Bad substitution key used for default send proposal email
- button to pay still visible when amount null used
- clause must not be there
- Contact tab not visible when using canvas
- dol_delete_file must work in a context without db handler loaded
- entity test must be on product_fourn_price table and not product table
- Fetch shipping will now fetch project id
- If we enable 3 steps for supplier order approbation, we must not delete all fourn rights def.
- intervention: extrafield error when calling insertExtrafields
- It's not possible to remove a contact which is assigned to an event #8852
- javascript showempty error
- Keep supplier proposal price for supplier order
- link for projets not linked to a thirdparties
- Missing extrafields in export of stock or products
- missing filters during ordering
- missing filters during reordering
- missing parenthesis
- need to filter on aa.entity for same accounting accounts available in several entities
- picto for type in product link in accountany list is wrong
- Problems in accountancy module when using multicompany module.
- proposal: missing contact type translation key
- pu_ht_devise was not converted to numeric so decimals were lost when calculating total_ht_devise
- Select user on add time spent form
- shipment: fk_proje(c)t not handled in fetch() and update() methods
- sometimes amounts are identical but php find them different.
- supplier order: product supplier ref not saved on addline
- test is_erasable() must be done before call function delete() too to avoid delete invoice with &action=delete in url
- wrong var name $search_month_lim