Remove a FIXME.
This commit is contained in:
parent
240c4baba8
commit
59c6c90200
@ -131,7 +131,7 @@ class Product extends CommonObject
|
|||||||
var $status_buy;
|
var $status_buy;
|
||||||
// Statut indique si le produit est un produit fini '1' ou une matiere premiere '0'
|
// Statut indique si le produit est un produit fini '1' ou une matiere premiere '0'
|
||||||
var $finished;
|
var $finished;
|
||||||
// We must manage batch number, sell-by date and so on : '1':yes '0':no
|
// We must manage lot/batch number, sell-by date and so on : '1':yes '0':no
|
||||||
var $status_batch;
|
var $status_batch;
|
||||||
|
|
||||||
var $customcode; // Customs code
|
var $customcode; // Customs code
|
||||||
|
|||||||
@ -126,7 +126,6 @@ class MouvementStock extends CommonObject
|
|||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME Code not complete to implement this
|
|
||||||
// Check table llx_product_lot from batchnumber for same product
|
// Check table llx_product_lot from batchnumber for same product
|
||||||
// If found and eatby/sellby defined into table and provided and differs, return error
|
// If found and eatby/sellby defined into table and provided and differs, return error
|
||||||
// If found and eatby/sellby defined into table and not provided, we take value from table
|
// If found and eatby/sellby defined into table and not provided, we take value from table
|
||||||
@ -218,7 +217,7 @@ class MouvementStock extends CommonObject
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else // If not found, we add record
|
||||||
{
|
{
|
||||||
$productlot = new Productlot($this->db);
|
$productlot = new Productlot($this->db);
|
||||||
$productlot->fk_product = $fk_product;
|
$productlot->fk_product = $fk_product;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user