Merge pull request #17684 from FHenry/dev_fix_inventorylink_into_stockmvt

add inventory link into mvt stock list
This commit is contained in:
Laurent Destailleur 2021-05-20 13:52:54 +02:00 committed by GitHub
commit c80c261db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {