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 .= " (fk_product, fk_entrepot, reel, commande, proposition)";
$sql .= " VALUES ($this->id, $id_entrepot, $nbpiece, $nbpiece, $nbpiece)";
$sql .= " (fk_product, fk_entrepot, reel)";
$sql .= " VALUES ($this->id, $id_entrepot, $nbpiece)";
if ($this->db->query($sql) )
{