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
Add multicompany->enabled test
add extrafields support in supplier orders. managed in configuration but not in view mode
Merge pull request #1348 from atm-alexis/3.5

Improper use of delete() function and ldap with multientity bug corrections
Fix: Calculation of number of linked files was not working on taxes.
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: Fix missing translation
Fix: Lost stats filters into year selection
Trad: Add missing es_ES trans
Trad: Improve es_ES trans
Merge remote-tracking branch 'origin/3.5' into develop

Conflicts:
	htdocs/fourn/commande/fiche.php
	htdocs/langs/es_ES/admin.lang
	htdocs/langs/es_ES/languages.lang
	htdocs/langs/es_ES/main.lang