Fix: We should not load stock details at each product fetch
This commit is contained in:
parent
be3dd26672
commit
eabbff3cd3
1 changed files with 2 additions and 1 deletions
|
|
@ -1347,7 +1347,8 @@ class Product extends CommonObject
|
|||
}
|
||||
}
|
||||
|
||||
$res=$this->load_stock();
|
||||
// We should not load stock at each fetch
|
||||
//$res=$this->load_stock();
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue