Merge pull request #17684 from FHenry/dev_fix_inventorylink_into_stockmvt
add inventory link into mvt stock list
This commit is contained in:
commit
c80c261db5
@ -962,6 +962,10 @@ class MouvementStock extends CommonObject
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/reception/class/reception.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/reception/class/reception.class.php';
|
||||||
$origin = new Reception($this->db);
|
$origin = new Reception($this->db);
|
||||||
break;
|
break;
|
||||||
|
case 'inventory':
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/product/inventory/class/inventory.class.php';
|
||||||
|
$origin = new Inventory($this->db);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if ($origintype) {
|
if ($origintype) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user