Merge remote-tracking branch 'origin/3.6' into 3.7
Conflicts: htdocs/fourn/commande/dispatch.php htdocs/product/class/html.formproduct.class.php htdocs/product/stock/index.php htdocs/product/stock/liste.php htdocs/product/stock/mouvement.php htdocs/product/stock/product.php htdocs/product/stock/valo.php
This commit is contained in:
commit
0c3ebe63c2
@ -2998,7 +2998,7 @@ class Product extends CommonObject
|
||||
$sql = "SELECT ps.reel, ps.fk_entrepot, ps.pmp, ps.rowid";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."product_stock as ps";
|
||||
$sql.= ", ".MAIN_DB_PREFIX."entrepot as w";
|
||||
$sql.= " WHERE w.entity IN (".getEntity('warehouse', 1).")";
|
||||
$sql.= " WHERE w.entity IN (".getEntity('stock', 1).")";
|
||||
$sql.= " AND w.rowid = ps.fk_entrepot";
|
||||
$sql.= " AND ps.fk_product = ".$this->id;
|
||||
|
||||
|
||||
@ -355,7 +355,7 @@ class Entrepot extends CommonObject
|
||||
|
||||
$sql = "SELECT rowid, label";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."entrepot";
|
||||
$sql.= " WHERE entity IN (".getEntity('warehouse', 1).")";
|
||||
$sql.= " WHERE entity IN (".getEntity('stock', 1).")";
|
||||
$sql.= " AND statut = ".$status;
|
||||
|
||||
$result = $this->db->query($sql);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user