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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user