* Fix:warehouses table name is entrepot which does not hold an fk_soc field, so _checkAccessToResource returns always false and must be disabled before fix.
* Fix:warehouses table name is entrepot which does not hold an fk_soc field, so _checkAccessToResource returns always false and must be disabled before fix.
* Fix check params
It is sufficient to fix check parameters to get it working
* Update api_warehouses.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>