API is not working, so we rename it to allow use of another one that can

work correcly.
This commit is contained in:
Laurent Destailleur 2024-05-29 13:51:00 +02:00
parent 80b207edb1
commit ccb0ae04e4

View file

@ -311,11 +311,11 @@ class Mos extends DolibarrApi
* @param int $id ID of state
* @param array $request_data Request datas
*
* @url POST {id}/produceandconsume
* @url POST {id}/produceandconsumeall
*
* @return int ID of MO
*/
public function produceAndConsume($id, $request_data = null)
public function produceAndConsumeAll($id, $request_data = null)
{
global $langs;