From ccb0ae04e4300c8aa168548503ac5add67945f3d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 29 May 2024 13:51:00 +0200 Subject: [PATCH] API is not working, so we rename it to allow use of another one that can work correcly. --- htdocs/mrp/class/api_mos.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/mrp/class/api_mos.class.php b/htdocs/mrp/class/api_mos.class.php index 82f0138657c..162468a65fb 100644 --- a/htdocs/mrp/class/api_mos.class.php +++ b/htdocs/mrp/class/api_mos.class.php @@ -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;