Merge pull request #15793 from fappels/13_fix-reception_movement_list

FIX missing reception link in stock movement list.
This commit is contained in:
Laurent Destailleur 2020-12-21 18:10:21 +01:00 committed by GitHub
commit 373ef45af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -981,6 +981,10 @@ class MouvementStock extends CommonObject
require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
$origin = new User($this->db);
break;
case 'reception':
require_once DOL_DOCUMENT_ROOT.'/reception/class/reception.class.php';
$origin = new Reception($this->db);
break;
default:
if ($origintype)