Correction dans create_stock, suppression du champ commande
This commit is contained in:
parent
3042960bcd
commit
416707b9e1
@ -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) )
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user