Correction dans create_stock, suppression du champ commande

This commit is contained in:
Rodolphe Quiedeville 2003-11-25 10:41:52 +00:00
parent 3042960bcd
commit 416707b9e1

View File

@ -470,8 +470,8 @@ class Product
{ {
$sql = "INSERT INTO llx_product_stock "; $sql = "INSERT INTO llx_product_stock ";
$sql .= " (fk_product, fk_entrepot, reel, commande, proposition)"; $sql .= " (fk_product, fk_entrepot, reel)";
$sql .= " VALUES ($this->id, $id_entrepot, $nbpiece, $nbpiece, $nbpiece)"; $sql .= " VALUES ($this->id, $id_entrepot, $nbpiece)";
if ($this->db->query($sql) ) if ($this->db->query($sql) )
{ {