From 48cb717cd3f87f7c221d796d2adab3f90e239517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 10 Jun 2026 21:19:06 +0200 Subject: [PATCH] fix new MO (#38483) --- htdocs/mrp/class/mo.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php index 24a3056c330..ad1f3d6651b 100644 --- a/htdocs/mrp/class/mo.class.php +++ b/htdocs/mrp/class/mo.class.php @@ -1815,7 +1815,7 @@ class Mo extends CommonObject $this->tpl['label'] = ''; if (!empty($line->fk_product) && $line->fk_product > 0) { $productstatic->fetch($line->fk_product); - $productstatic->load_virtual_stock(); + $productstatic->load_stock(); // load_virtual_stock() is done in load_stock() $this->tpl['label'] .= $productstatic->getNomUrl(1); //$this->tpl['label'].= ' - '.$productstatic->label; } else {