// Added two tables affected when deleting a shop : stock_available and warehouse_shop
This commit is contained in:
1 parent
11fc755c46
commit
f9059b6575
2 files changed
+3
-1
No files matched your search
@@ -85,6 +85,8 @@ class ShopCore extends ObjectModel
|
|||||||
'store' => array('type' => 'shop'),
|
'store' => array('type' => 'shop'),
|
||||||
'zone_shop' => array('type' => 'shop'),
|
'zone_shop' => array('type' => 'shop'),
|
||||||
'webservice_account' => array('type' => 'shop'),
|
'webservice_account' => array('type' => 'shop'),
|
||||||
|
'warehouse' => array('type' => 'shop'),
|
||||||
|
'stock_available' => array('type' => 'fk_shop'),
|
||||||
);
|
);
|
||||||
|
|
||||||
protected $webserviceParameters = array(
|
protected $webserviceParameters = array(
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ class StockAvailableCore extends ObjectModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove a given product from the stock available
|
* Removes a given product from the stock available
|
||||||
*
|
*
|
||||||
* @param int $id_product
|
* @param int $id_product
|
||||||
* @param int $id_product_attribute Optional
|
* @param int $id_product_attribute Optional
|
||||||
|
|||||||
Reference in new issue
Block a user