Add entitytotest test, because a LDAP user can override the entity restriction without this test
Merge branch '3.5' of https://github.com/Dolibarr/dolibarr into 3.5
In some cases of improper use of the delete () function, the complete repertoire of propale objects, invoice or order was deleted.

Ex in agefodd module:
	$obj_link=new Propal($db);
        $obj_link->id=$agf->propalid;
        $resultdel=$obj_link->delete($user);

To prevent misuse of the function, the reference is not considered given
Merge branch '3.5' of https://github.com/Dolibarr/dolibarr into 3.5
Fixed bug #1196:  Product barcode search does not expect 13th digit on EAN13 type
Some code written by "hipnosapo" forum user in http://www.dolibarr.es/index.php/foro/7-bugs-versiones-estables/3891-ean13-buscador-codigo-barras-13-digitos#3891
Little refactor in product/liste.php
Add multicompany->enabled test
add extrafields support in supplier orders. managed in configuration but not in view mode
Merge pull request #1350 from marcosgdf/bug-1196

Fixed bug #1196: Product barcode search does not expect 13th digit on EAN13 type
Merge pull request #1348 from atm-alexis/3.5

Improper use of delete() function and ldap with multientity bug corrections
Corrected Copyright info for PR #1350
Added to the COPYRIGHT file too
Fix: Calculation of number of linked files was not working on taxes.
Fix: Missing ref field into export.
Merge pull request #1352 from marcosgdf/bug-1196

Corrected Copyright info for PR #1350
Merge pull request #1353 from atm-geoffrey/develop

add extrafields support in supplier orders
Merge pull request #1351 from atm-geoffrey/3.5

add extrafields support in supplier orders
Trad: Update es_ES translations
Trad: Add missing trans
Trad: Update es_ES translations

Conflicts:
	htdocs/langs/es_ES/admin.lang
	htdocs/langs/es_ES/languages.lang
	htdocs/langs/es_ES/main.lang
	htdocs/langs/es_ES/stocks.lang