From 1e6f3d0624a7220eeb77b3ee9d74efd4a447ca05 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Thu, 20 May 2021 12:30:02 +0200 Subject: [PATCH] add inventory link into mvt stock list --- htdocs/product/stock/class/mouvementstock.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/product/stock/class/mouvementstock.class.php b/htdocs/product/stock/class/mouvementstock.class.php index 287cc26596c..4877bb861ab 100644 --- a/htdocs/product/stock/class/mouvementstock.class.php +++ b/htdocs/product/stock/class/mouvementstock.class.php @@ -962,6 +962,10 @@ class MouvementStock extends CommonObject require_once DOL_DOCUMENT_ROOT.'/reception/class/reception.class.php'; $origin = new Reception($this->db); break; + case 'inventory': + require_once DOL_DOCUMENT_ROOT.'/product/inventory/class/inventory.class.php'; + $origin = new Inventory($this->db); + break; default: if ($origintype) {