FIX: Not delete a product when have customer price

This commit is contained in:
fmarcet 2015-12-03 14:02:26 +01:00
parent e72f4cb063
commit eb98bd1e78

View File

@ -806,7 +806,7 @@ class Product extends CommonObject
}
// Delete all child tables
$elements = array('product_fournisseur_price','product_price','product_lang','categorie_product','product_stock');
$elements = array('product_fournisseur_price','product_price','product_lang','categorie_product','product_stock','product_customer_price');
foreach($elements as $table)
{
if (! $error)