Merge pull request #21866 from fappels/develop_supplier_order_sharing
Work on supplier order sharing
This commit is contained in:
commit
7c515f00dd
@ -150,7 +150,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
$sql .= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc";
|
||||
}
|
||||
$sql .= " WHERE c.fk_soc = s.rowid";
|
||||
$sql .= " AND c.entity = ".$conf->entity;
|
||||
$sql .= " AND c.entity IN (".getEntity('supplier_order').")";
|
||||
$sql .= " AND d.fk_commande = c.rowid";
|
||||
$sql .= " AND d.fk_product = ".((int) $product->id);
|
||||
if (!empty($search_month)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user