Fix stock mouvement does not need virtual stock.
This commit is contained in:
parent
c200ec22da
commit
2e0539efa7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue