if supplier have multiple price return it several times
This commit is contained in:
parent
0af0aa89bb
commit
8a37db3f1c
@ -2794,7 +2794,7 @@ class Product extends CommonObject
|
||||
|
||||
$list = array();
|
||||
|
||||
$sql = "SELECT p.fk_soc";
|
||||
$sql = "SELECT DISTINCT p.fk_soc";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."product_fournisseur_price as p";
|
||||
$sql.= " WHERE p.fk_product = ".$this->id;
|
||||
$sql.= " AND p.entity = ".$conf->entity;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user