Skip to content

Commit

Permalink
Fix: We should not load stock details at each product fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 10, 2013
1 parent ad420bb commit a6b188e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/product/class/product.class.php
Expand Up @@ -1347,7 +1347,8 @@ function fetch($id='',$ref='',$ref_ext='')
}
}

$res=$this->load_stock();
// We should not load stock at each fetch
//$res=$this->load_stock();

return $res;
}
Expand Down

0 comments on commit a6b188e

Please sign in to comment.