From 5da952cf8a460df8dd0b939b9455f44df1c8192d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 8 Jan 2020 13:37:52 +0100 Subject: [PATCH] Comment --- htdocs/product/stock/class/mouvementstock.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/product/stock/class/mouvementstock.class.php b/htdocs/product/stock/class/mouvementstock.class.php index c50d816f14f..5f567050422 100644 --- a/htdocs/product/stock/class/mouvementstock.class.php +++ b/htdocs/product/stock/class/mouvementstock.class.php @@ -90,7 +90,8 @@ class MouvementStock extends CommonObject // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore /** - * Add a movement of stock (in one direction only) + * Add a movement of stock (in one direction only). + * $this->origin can be also be set to save the source object of movement. * * @param User $user User object * @param int $fk_product Id of product