Fix: We should not load stock details at each product fetch
This commit is contained in:
parent
be3dd26672
commit
eabbff3cd3
@ -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;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user