Skip to content
Snippets Groups Projects
Commit b3ed99dd authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #4146 from fmarcet/3.6

FIX: Not delete a product when have customer price
parents d2b221cf eb98bd1e
No related branches found
No related tags found
No related merge requests found
...@@ -806,7 +806,7 @@ class Product extends CommonObject ...@@ -806,7 +806,7 @@ class Product extends CommonObject
} }
// Delete all child tables // 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) foreach($elements as $table)
{ {
if (! $error) if (! $error)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment