2
0
forked from Wavyzz/dolibarr

Merge pull request #4146 from fmarcet/3.6

FIX: Not delete a product when have customer price
This commit is contained in:
Laurent Destailleur
2015-12-04 18:24:37 +01:00

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)