Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur 2019-06-07 22:53:38 +02:00
commit e862f4c81d

View File

@ -163,7 +163,7 @@ class MouvementStock extends CommonObject
$this->db->begin();
$product->load_stock();
$product->load_stock('novirtual');
// Test if product require batch data. If yes, and there is not, we throw an error.
if (! empty($conf->productbatch->enabled) && $product->hasbatch() && ! $skip_batch)