Mv_Megaventory - Version 2.0.1

Version Notes

This new minor version catches bulk imports of products and customers from Magento, which now are flowing to Megaventory.
Extended dataflow profile imports are not yet supported. This affects older Magento versions that do not have default import processes (no System->Import/Export->Import option)

Furthermore the following bugs were fixed:
- Sometines wrong shipment id was used when applied a Megaventory shipping pending update. Now we ensure that the right shipment increment id is applied at all times
- Order references to Megaventory's inventory locations are also being reset when user resets global data

Download this release

Release Info

Developer Megaventory Megaventory
Extension Mv_Megaventory
Version 2.0.1
Comparing to
See all releases


Code changes from version 2.0.0 to 2.0.1

app/code/local/Mv/Megaventory/Block/Adminhtml/Updates/Grid.php CHANGED
@@ -80,6 +80,15 @@ class Mv_Megaventory_Block_Adminhtml_Updates_Grid extends Mage_Adminhtml_Block_W
80
  )
81
  );
82
 
 
 
 
 
 
 
 
 
 
83
  /* $this->addColumn('JsonData',
84
  array(
85
  'header'=> $this->__('JsonData'),
@@ -126,6 +135,13 @@ class Mv_Megaventory_Block_Adminhtml_Updates_Grid extends Mage_Adminhtml_Block_W
126
  $arraykeys = array_keys($mvIntegrationUpdate);
127
  foreach ($arraykeys as $arraykey)
128
  {
 
 
 
 
 
 
 
129
  $item->setData($arraykey,$mvIntegrationUpdate[$arraykey]);
130
  }
131
  $collection->addItem($item);
80
  )
81
  );
82
 
83
+ $this->addColumn('IntegrationUpdateDateTime',
84
+ array(
85
+ 'header'=> $this->__('Update Timestamp (M-D-Y format)'),
86
+ 'index' => 'IntegrationUpdateDateTime',
87
+ 'filter' => false,
88
+ 'sortable' => false
89
+ )
90
+ );
91
+
92
  /* $this->addColumn('JsonData',
93
  array(
94
  'header'=> $this->__('JsonData'),
135
  $arraykeys = array_keys($mvIntegrationUpdate);
136
  foreach ($arraykeys as $arraykey)
137
  {
138
+ if ($arraykey == 'IntegrationUpdateDateTime'){
139
+ $updateDT = $mvIntegrationUpdate[$arraykey];
140
+ $updateDT = substr($updateDT, 6, 19);
141
+ $seconds = $updateDT / 1000;
142
+ date("d-m-Y", $seconds);
143
+ $mvIntegrationUpdate[$arraykey] = date("m-d-Y H:i:s T", $seconds);
144
+ }
145
  $item->setData($arraykey,$mvIntegrationUpdate[$arraykey]);
146
  }
147
  $collection->addItem($item);
app/code/local/Mv/Megaventory/Helper/Data.php CHANGED
@@ -244,6 +244,11 @@ class Mv_Megaventory_Helper_Data extends Mage_Core_Helper_Abstract
244
  $write->query($updateCategory);
245
  $updateProduct = 'update '.$resource->getTableName('catalog_product_entity').' set mv_product_id = NULL';
246
  $write->query($updateProduct);
 
 
 
 
 
247
  }
248
 
249
  public function getMegaventoryAccountSettings($settingName=false,$apikey = false, $apiurl = -1){
244
  $write->query($updateCategory);
245
  $updateProduct = 'update '.$resource->getTableName('catalog_product_entity').' set mv_product_id = NULL';
246
  $write->query($updateProduct);
247
+
248
+ $updateSalesFlatOrder = 'update '.$resource->getTableName('sales_flat_order').' set mv_salesorder_id = NULL, mv_inventory_id = 0';
249
+ $write->query($updateSalesFlatOrder);
250
+ $updateSalesFlatOrderGrid = 'update '.$resource->getTableName('sales/order_grid').' set mv_inventory_id = 0';
251
+ $write->query($updateSalesFlatOrderGrid);
252
  }
253
 
254
  public function getMegaventoryAccountSettings($settingName=false,$apikey = false, $apiurl = -1){
app/code/local/Mv/Megaventory/Model/Import/Entity/Customer/Address.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class Mv_Megaventory_Model_Import_Entity_Customer_Address extends Mage_ImportExport_Model_Import_Entity_Customer_Address
5
+ {
6
+
7
+ protected function _importData()
8
+ {
9
+ $result = parent::_importData();
10
+
11
+ //megaventory hook
12
+ $customerHelper = Mage::helper('megaventory/customer');
13
+ while ($bunch = $this->_dataSourceModel->getNextBunch()) {
14
+
15
+ foreach ($bunch as $rowNum => $rowData) {
16
+ $customerId = $this->_customer->getCustomerId(
17
+ $rowData[Mage_ImportExport_Model_Import_Entity_Customer::COL_EMAIL],
18
+ $rowData[Mage_ImportExport_Model_Import_Entity_Customer::COL_WEBSITE]
19
+ );
20
+
21
+ if ($customerId){
22
+ $customer = Mage::getModel('customer/customer')->load($customerId);
23
+ $customerHelper->addCustomer($customer);
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+
30
+
31
+ }
app/code/local/Mv/Megaventory/Model/Observer.php CHANGED
@@ -134,6 +134,14 @@ class Mv_Megaventory_Model_Observer
134
  }
135
  else if ($mvIntegrationUpdate['Action'] == 'invoice'){
136
  $invoiceIncrementId = $invoiceApi->create($orderIncrementId, null);
 
 
 
 
 
 
 
 
137
  $result = $invoiceIncrementId;
138
  Mage::log('result : '.$result,null,'mv_cron.log');
139
  if ($result)
@@ -150,7 +158,13 @@ class Mv_Megaventory_Model_Observer
150
  }
151
  }
152
  else if ($mvIntegrationUpdate['Action'] == 'ship'){
153
- $shipmentIncrementId = $shipmentApi->create($orderIncrementId);
 
 
 
 
 
 
154
  $result = $shipmentIncrementId;
155
  Mage::log('result : '.$result,null,'mv_cron.log');
156
  if ($result){
@@ -170,7 +184,25 @@ class Mv_Megaventory_Model_Observer
170
  else if ($mvIntegrationUpdate['Action'] == 'track'){
171
  $jsonData = $mvIntegrationUpdate['JsonData'];
172
 
173
- if ($jsonData)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  {
175
  $trackingInformation = json_decode($jsonData, true);
176
  $result = $mvApi->megaventoryAddTrack($shipmentIncrementId, 'custom', $trackingInformation['ShippingProviderName'],
134
  }
135
  else if ($mvIntegrationUpdate['Action'] == 'invoice'){
136
  $invoiceIncrementId = $invoiceApi->create($orderIncrementId, null);
137
+
138
+ $invoice = Mage::getModel('sales/order_invoice')->loadByIncrementId($invoiceIncrementId);
139
+
140
+ if ($invoice->canCapture()) {
141
+ $invoiceApi->capture($invoiceIncrementId);
142
+ Mage::log('captured invoice : '.$invoiceIncrementId,null,'mv_cron.log');
143
+ }
144
+
145
  $result = $invoiceIncrementId;
146
  Mage::log('result : '.$result,null,'mv_cron.log');
147
  if ($result)
158
  }
159
  }
160
  else if ($mvIntegrationUpdate['Action'] == 'ship'){
161
+ $jsonData = $mvIntegrationUpdate['JsonData'];
162
+ $extraShippingInformation = json_decode($jsonData, true);
163
+ if ($extraShippingInformation['Notify'] == '1') //then also send a shipment email
164
+ $shipmentIncrementId = $shipmentApi->create($orderIncrementId,null,'',true,false);
165
+ else
166
+ $shipmentIncrementId = $shipmentApi->create($orderIncrementId);
167
+
168
  $result = $shipmentIncrementId;
169
  Mage::log('result : '.$result,null,'mv_cron.log');
170
  if ($result){
184
  else if ($mvIntegrationUpdate['Action'] == 'track'){
185
  $jsonData = $mvIntegrationUpdate['JsonData'];
186
 
187
+ $result = false;
188
+
189
+ $shipmentIncrementId= "";
190
+ $order = Mage::getModel('sales/order')->loadByIncrementId($orderIncrementId);
191
+ $orderId = $order->getId();
192
+
193
+ $filters = array(
194
+ "order_id" => $orderId
195
+ );
196
+ $shipments = $shipmentApi->items($filters);
197
+
198
+ if (count($shipments) > 0 )
199
+ {
200
+ $shipment = $shipments[0];
201
+ $shipmentIncrementId = $shipment['increment_id'];
202
+ Mage::log('order has shipment with id : '.$shipmentIncrementId,null,'mv_cron.log');
203
+ }
204
+
205
+ if ($jsonData && !empty($shipmentIncrementId))
206
  {
207
  $trackingInformation = json_decode($jsonData, true);
208
  $result = $mvApi->megaventoryAddTrack($shipmentIncrementId, 'custom', $trackingInformation['ShippingProviderName'],
app/code/local/Mv/Megaventory/Model/Product/Observer.php CHANGED
@@ -17,6 +17,32 @@ class Mv_Megaventory_Model_Product_Observer {
17
 
18
  }
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  public function onProductDelete($observer) {
21
  $event = $observer->getEvent ();
22
  $product = $event->getProduct ();
17
 
18
  }
19
 
20
+ public function onProductImport($observer) {
21
+ $event = $observer->getEvent ();
22
+ $adapter = $observer->getAdapter();
23
+ if ($adapter){
24
+ $productHelper = Mage::helper('megaventory/product');
25
+ $newSku = $adapter->getNewSku();
26
+
27
+ foreach ($newSku as $sku => $skuValues) {
28
+
29
+ $productId = $skuValues['entity_id'];
30
+ $product = Mage::getModel('catalog/product')->load($productId);
31
+
32
+ if ($product->getId()){
33
+ $sku = $product->getSku();
34
+ $megaventoryId = $product->getData('mv_product_id');
35
+ $startsWith = $this->startsWith($sku, 'bom_');
36
+ if ($startsWith && empty($megaventoryId)) //it is an insert of a bom and we should ignore
37
+ return;
38
+
39
+ $productHelper->addProduct($product);
40
+ }
41
+ }
42
+ }
43
+
44
+ }
45
+
46
  public function onProductDelete($observer) {
47
  $event = $observer->getEvent ();
48
  $product = $event->getProduct ();
app/code/local/Mv/Megaventory/etc/adminhtml.xml CHANGED
@@ -12,6 +12,10 @@
12
  <title>Settings</title>
13
  <action>megaventory/index/index</action>
14
  </megaventorysettings>
 
 
 
 
15
  <megaventorylog>
16
  <title>Log</title>
17
  <action>megaventory/index/log</action>
12
  <title>Settings</title>
13
  <action>megaventory/index/index</action>
14
  </megaventorysettings>
15
+ <megaventorypendingupdates>
16
+ <title>Pending Updates</title>
17
+ <action>megaventory/index/updates</action>
18
+ </megaventorypendingupdates>
19
  <megaventorylog>
20
  <title>Log</title>
21
  <action>megaventory/index/log</action>
app/code/local/Mv/Megaventory/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Mv_Megaventory>
5
- <version>2.0.0</version>
6
  </Mv_Megaventory>
7
  </modules>
8
  <crontab>
@@ -105,6 +105,11 @@
105
  </bom>
106
  </entities>
107
  </megaventory_mysql4>
 
 
 
 
 
108
  </models>
109
  <helpers>
110
  <megaventory>
@@ -277,6 +282,15 @@
277
  </megaventory>
278
  </observers>
279
  </sales_order_status_history_save_commit_after>
 
 
 
 
 
 
 
 
 
280
  </events>
281
 
282
  <blocks>
2
  <config>
3
  <modules>
4
  <Mv_Megaventory>
5
+ <version>2.0.1</version>
6
  </Mv_Megaventory>
7
  </modules>
8
  <crontab>
105
  </bom>
106
  </entities>
107
  </megaventory_mysql4>
108
+ <importexport>
109
+ <rewrite>
110
+ <import_entity_customer_address>Mv_Megaventory_Model_Import_Entity_Customer_Address</import_entity_customer_address>
111
+ </rewrite>
112
+ </importexport>
113
  </models>
114
  <helpers>
115
  <megaventory>
282
  </megaventory>
283
  </observers>
284
  </sales_order_status_history_save_commit_after>
285
+ <catalog_product_import_finish_before>
286
+ <observers>
287
+ <megaventory>
288
+ <type>singleton</type>
289
+ <class>Mv_Megaventory_Model_Product_Observer</class>
290
+ <method>onProductImport</method>
291
+ </megaventory>
292
+ </observers>
293
+ </catalog_product_import_finish_before>
294
  </events>
295
 
296
  <blocks>
package.xml CHANGED
@@ -1,24 +1,23 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mv_Megaventory</name>
4
- <version>2.0.0</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Integrates your Magento store to Megaventory web-based ERP</summary>
10
  <description>With Megaventory, you will efficiently manage all your inventory, purchasing and order fullfilment needs. This module synchronizes Magento to your megaventory.com account and adds support for multiple inventory locations, purchase orders, work orders (using bill of materials) and custom inventory, sales and purchasing reports.</description>
11
- <notes>With this update we have re-engineered the way entities (orders, stock) are synchronized between magento and megaventory. This brings significant speed and response time improvements to both megaventory and magento.&#xD;
 
12
  &#xD;
13
- Moreover, this update includes the following feature additions:&#xD;
14
- &#xD;
15
- - If due to network related issues (or other issues) one or more Magento orders fail to pass through to Megaventory, an automated mechanism re-syncs those at regular time intervals.&#xD;
16
- &#xD;
17
- - Bug fixes and code optimizations</notes>
18
  <authors><author><name>Megaventory Megaventory</name><user>megaventory</user><email>info@megaventory.com</email></author></authors>
19
- <date>2014-06-05</date>
20
- <time>12:39:38</time>
21
- <contents><target name="magelocal"><dir name="Mv"><dir name="Megaventory"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Grid.php" hash="fff2aa89e995af3446a6007850a743e0"/></dir></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="View.php" hash="5f4b6af1de69091b1b10b4b12ce0f673"/></dir></dir></dir><dir name="Inventories"><file name="Grid.php" hash="3359fe278f99e28acf29547debbc611b"/></dir><file name="Inventories.php" hash="963069637a8d349f279e3e2a3d59e878"/><dir name="Megaventorylog"><file name="Grid.php" hash="d2417c3c3ed63ef65c71c6538ee62e4d"/></dir><file name="Megaventorylog.php" hash="06b457820aec2bda101728a4b97b9c6a"/><file name="Megaventorysettings.php" hash="8135c0d4c727606112182c4b09e95d7e"/><dir name="Product"><dir name="Edit"><dir name="Tab"><file name="Megaventory.php" hash="6959d43090370b73abf97d494de33910"/></dir></dir></dir><dir name="Renderer"><file name="Action.php" hash="5a88b067482480da031ac6a1972502a7"/><file name="Boolean.php" hash="a64533e5627a1981410b2f4465c3e5f5"/><file name="Countsinstock.php" hash="02fb7cc939969503ed5f2c0d46605beb"/><file name="Orderinventory.php" hash="81e8c7b5915388ac833dd26cf5c78f58"/><dir name="Product"><file name="Inventories.php" hash="ad0116b1ae321dc7644d3ed1b18cfd20"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="aa6d5947cfd04e1317e7e88c6802b5bc"/></dir></dir><dir name="System"><dir name="Convert"><dir name="Profile"><file name="Run.php" hash="08efbdc75a3890e8c7ec74be289e16d5"/></dir></dir></dir><dir name="Taxes"><file name="Grid.php" hash="910aa1bce7cdac35049139b845806fcc"/></dir><file name="Taxes.php" hash="c325693005618a94595c433b9c40212e"/><dir name="Updates"><file name="Grid.php" hash="86545ab508c335b17f55aacfeb7d894e"/></dir><file name="Updates.php" hash="0e651824253cec325fdcbd0c4a4fdc99"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="070c600934929ff3259eccb257d9eaad"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e188b68b99bca86b110e56ca9166d95b"/><file name="api.xml" hash="7cad22030a2e2c79e16de5ce0ba790e4"/><file name="config.xml" hash="1fec864f50db9539a980312dfa2edf69"/><file name="system.xml" hash="0c4691ab690fdbfbfcd930195a07f8d3"/><file name="wsdl.xml" hash="98ae8557b66efd05e279e2ce56f36dc4"/></dir><dir name="Helper"><file name="Category.php" hash="4e2c3af28854aec82bb8cc5a7f66028a"/><file name="Common.php" hash="1214ddf8c525a635f6884cf29da31213"/><file name="Currencies.php" hash="afd489d48d2b42f22f434c2735fd8976"/><file name="Customer.php" hash="642b49d6029386c1b1940b094c079205"/><file name="Data.php" hash="767376f16ce9934f1f2719084efa7849"/><file name="Inventories.php" hash="99f0fa4c4e6e0671591a3e86b87e5fa1"/><file name="Order.php" hash="fd2ddb4f6b195246d8ea6dfa3d194f78"/><file name="Product.php" hash="9af8ebae1faa1cf3f3ee8cb7c9eb2579"/><file name="Suppliers.php" hash="114e7d9f5608aba273d5f4987e042564"/><file name="Taxes.php" hash="d379c953130c39e5195c0f2f65036d3a"/></dir><dir name="Model"><file name="Bom.php" hash="2e31318df6c21bcb697ce1f6a903031e"/><dir name="Category"><file name="Observer.php" hash="fe1742dfe7a6d7c80db9afa63d446d4f"/></dir><file name="Currencies.php" hash="6b8a36da6d7c55df5138d45dbeb633a4"/><dir name="Customer"><file name="Exporter.php" hash="ac724296dced11ed057046f86bb4760e"/><file name="Observer.php" hash="52fe3653bc9fa4c4f30304e4a9f44027"/></dir><file name="Exporter.php" hash="a62ef834b3b0384f4737fd2364f059f0"/><file name="Inventories.php" hash="fb481d874caf90249c80445053148767"/><file name="Megaventorylog.php" hash="29297786f36037e8c319264f2fa85f81"/><dir name="Mysql4"><dir name="Bom"><file name="Collection.php" hash="4e390a210021192a47484134e4d39a0e"/></dir><file name="Bom.php" hash="122e092508f8efba8403195aea99cc8f"/><dir name="Currencies"><file name="Collection.php" hash="c6a2447656a517980c12645dba12fd07"/></dir><file name="Currencies.php" hash="e138cf3ab27542eebaca9412e320bade"/><dir name="Inventories"><file name="Collection.php" hash="d6b534e8a607d6417e893fd3dcd5a30d"/></dir><file name="Inventories.php" hash="b87b6aac89db59e93f203713572b7594"/><dir name="Megaventorylog"><file name="Collection.php" hash="bf0a73388b11e7c26cc5629f4609dd33"/></dir><file name="Megaventorylog.php" hash="2d2acaa33c3a65338f3711232ac0727a"/><dir name="Productstocks"><file name="Collection.php" hash="4bbb1e8cb7365df22a5bb4becc1a2928"/></dir><file name="Productstocks.php" hash="875331f6f6eda5316276505396fb4626"/><dir name="Taxes"><file name="Collection.php" hash="2ba005f102cffc1e36fdf5a96042f22f"/></dir><file name="Taxes.php" hash="78f035f9d78f878ddccbc1b782ab63cb"/></dir><dir name="Notification"><file name="Feed.php" hash="3db99c6d0c19b60c20043d0cbacb9849"/></dir><file name="Observer.php" hash="a99b05e354f7ee8a1ebb26d8d258f28b"/><dir name="Product"><file name="Observer.php" hash="af108729a347c205474719b479776a7e"/></dir><file name="Productstocks.php" hash="cfb4905eb159b62b614cc463b8a4d09b"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="05c334b454b5f93f1cf3bbbf39485b97"/></dir></dir><dir name="Sales"><file name="Observer.php" hash="0bfb53a5e95defc780fbc38aa140a8e0"/></dir><dir name="Services"><dir name="Api"><file name="V2.php" hash="3fe9ab25a56006d4811e7d3da52b9c32"/></dir><file name="Api.php" hash="9627ef26c0d29b3ef5801e0e976bccc5"/></dir><dir name="Stock"><file name="Exporter.php" hash="d3e449aca921c3ab4f8f2181db88dcaf"/></dir><dir name="Stockitem"><file name="Observer.php" hash="71df67605c432bfdc25ae8b60ae66b31"/></dir><file name="Taxes.php" hash="f223b7efcbfac4ceb4b553725281e9f2"/></dir><dir name="sql"><dir name="megaventory_setup"><file name="mysql4-install-0.1.0.php" hash="2e1ce681394e2278868a10865660a41f"/><file name="mysql4-upgrade-0.1.0-0.1.5.php" hash="b9e25c46b3738eec98dbad13201c8751"/><file name="mysql4-upgrade-0.1.5-0.2.0.php" hash="2588ce62eb04c6dc20638e2110a3d2e5"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="3e4bcf4eecd578913fada55bbd4e4218"/><file name="mysql4-upgrade-0.3.0-1.0.0.php" hash="5dac061b4b58ff212722858db76de11d"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="megaventory"><file name="scripts.js" hash="f34681c44311c094255a52165da31d4f"/></dir><dir name="images"><dir name="megaventory"><file name="accept.png" hash="90134a31c616bab56f31472981244c0e"/><file name="exclamation.png" hash="e4dd51f46566ed3ceacdc900bf2fdf01"/><file name="infobutton.png" hash="b57cba82d84d3b333dd3654c39b97120"/><file name="message.png" hash="3cc350d4638c397345658a18c492d685"/><file name="pdf.png" hash="3e34bb1d7ae246eda83a8243e371b0cc"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="megaventory.xml" hash="d1ede978aba9e58e0bcf4f873d028b70"/></dir><dir name="template"><dir name="megaventory"><dir name="catalog"><dir name="product"><dir name="tab"><file name="inventory.phtml" hash="ffaebda15775f879a97f947b893d2c7c"/></dir></dir></dir><dir name="customer"><dir name="tab"><file name="view.phtml" hash="c5a30829f873360ffd69b9b55456318e"/></dir></dir><file name="megaventory.phtml" hash="20648fb92c42c5deaba7267443096e08"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mv_Megaventory.xml" hash="a7b18008632193e463a04c92852d32c4"/></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mv_Megaventory</name>
4
+ <version>2.0.1</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Integrates your Magento store to Megaventory web-based ERP</summary>
10
  <description>With Megaventory, you will efficiently manage all your inventory, purchasing and order fullfilment needs. This module synchronizes Magento to your megaventory.com account and adds support for multiple inventory locations, purchase orders, work orders (using bill of materials) and custom inventory, sales and purchasing reports.</description>
11
+ <notes>This new minor version catches bulk imports of products and customers from Magento, which now are flowing to Megaventory.&#xD;
12
+ Extended dataflow profile imports are not yet supported. This affects older Magento versions that do not have default import processes (no System-&gt;Import/Export-&gt;Import option)&#xD;
13
  &#xD;
14
+ Furthermore the following bugs were fixed:&#xD;
15
+ - Sometines wrong shipment id was used when applied a Megaventory shipping pending update. Now we ensure that the right shipment increment id is applied at all times&#xD;
16
+ - Order references to Megaventory's inventory locations are also being reset when user resets global data</notes>
 
 
17
  <authors><author><name>Megaventory Megaventory</name><user>megaventory</user><email>info@megaventory.com</email></author></authors>
18
+ <date>2014-07-30</date>
19
+ <time>12:14:12</time>
20
+ <contents><target name="magelocal"><dir name="Mv"><dir name="Megaventory"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Grid.php" hash="fff2aa89e995af3446a6007850a743e0"/></dir></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="View.php" hash="5f4b6af1de69091b1b10b4b12ce0f673"/></dir></dir></dir><dir name="Inventories"><file name="Grid.php" hash="3359fe278f99e28acf29547debbc611b"/></dir><file name="Inventories.php" hash="963069637a8d349f279e3e2a3d59e878"/><dir name="Megaventorylog"><file name="Grid.php" hash="d2417c3c3ed63ef65c71c6538ee62e4d"/></dir><file name="Megaventorylog.php" hash="06b457820aec2bda101728a4b97b9c6a"/><file name="Megaventorysettings.php" hash="8135c0d4c727606112182c4b09e95d7e"/><dir name="Product"><dir name="Edit"><dir name="Tab"><file name="Megaventory.php" hash="6959d43090370b73abf97d494de33910"/></dir></dir></dir><dir name="Renderer"><file name="Action.php" hash="5a88b067482480da031ac6a1972502a7"/><file name="Boolean.php" hash="a64533e5627a1981410b2f4465c3e5f5"/><file name="Countsinstock.php" hash="02fb7cc939969503ed5f2c0d46605beb"/><file name="Orderinventory.php" hash="81e8c7b5915388ac833dd26cf5c78f58"/><dir name="Product"><file name="Inventories.php" hash="ad0116b1ae321dc7644d3ed1b18cfd20"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="aa6d5947cfd04e1317e7e88c6802b5bc"/></dir></dir><dir name="System"><dir name="Convert"><dir name="Profile"><file name="Run.php" hash="08efbdc75a3890e8c7ec74be289e16d5"/></dir></dir></dir><dir name="Taxes"><file name="Grid.php" hash="910aa1bce7cdac35049139b845806fcc"/></dir><file name="Taxes.php" hash="c325693005618a94595c433b9c40212e"/><dir name="Updates"><file name="Grid.php" hash="b58d845ed388b7f65fa919b0c5e1ff4a"/></dir><file name="Updates.php" hash="0e651824253cec325fdcbd0c4a4fdc99"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="070c600934929ff3259eccb257d9eaad"/></dir><dir name="etc"><file name="adminhtml.xml" hash="7350c351bed984caa4da9e65db78f7d3"/><file name="api.xml" hash="7cad22030a2e2c79e16de5ce0ba790e4"/><file name="config.xml" hash="3757476ee94d768352aab8067da95926"/><file name="system.xml" hash="0c4691ab690fdbfbfcd930195a07f8d3"/><file name="wsdl.xml" hash="98ae8557b66efd05e279e2ce56f36dc4"/></dir><dir name="Helper"><file name="Category.php" hash="4e2c3af28854aec82bb8cc5a7f66028a"/><file name="Common.php" hash="1214ddf8c525a635f6884cf29da31213"/><file name="Currencies.php" hash="afd489d48d2b42f22f434c2735fd8976"/><file name="Customer.php" hash="642b49d6029386c1b1940b094c079205"/><file name="Data.php" hash="fdd7b070aaaeceb045ee15617ba2a2c0"/><file name="Inventories.php" hash="99f0fa4c4e6e0671591a3e86b87e5fa1"/><file name="Order.php" hash="fd2ddb4f6b195246d8ea6dfa3d194f78"/><file name="Product.php" hash="9af8ebae1faa1cf3f3ee8cb7c9eb2579"/><file name="Suppliers.php" hash="114e7d9f5608aba273d5f4987e042564"/><file name="Taxes.php" hash="d379c953130c39e5195c0f2f65036d3a"/></dir><dir name="Model"><file name="Bom.php" hash="2e31318df6c21bcb697ce1f6a903031e"/><dir name="Category"><file name="Observer.php" hash="fe1742dfe7a6d7c80db9afa63d446d4f"/></dir><file name="Currencies.php" hash="6b8a36da6d7c55df5138d45dbeb633a4"/><dir name="Customer"><file name="Exporter.php" hash="ac724296dced11ed057046f86bb4760e"/><file name="Observer.php" hash="52fe3653bc9fa4c4f30304e4a9f44027"/></dir><file name="Exporter.php" hash="a62ef834b3b0384f4737fd2364f059f0"/><dir name="Import"><dir name="Entity"><dir name="Customer"><file name="Address.php" hash="86a8b0f38ee6e5a4b29400cc451f09fa"/></dir></dir></dir><file name="Inventories.php" hash="fb481d874caf90249c80445053148767"/><file name="Megaventorylog.php" hash="29297786f36037e8c319264f2fa85f81"/><dir name="Mysql4"><dir name="Bom"><file name="Collection.php" hash="4e390a210021192a47484134e4d39a0e"/></dir><file name="Bom.php" hash="122e092508f8efba8403195aea99cc8f"/><dir name="Currencies"><file name="Collection.php" hash="c6a2447656a517980c12645dba12fd07"/></dir><file name="Currencies.php" hash="e138cf3ab27542eebaca9412e320bade"/><dir name="Inventories"><file name="Collection.php" hash="d6b534e8a607d6417e893fd3dcd5a30d"/></dir><file name="Inventories.php" hash="b87b6aac89db59e93f203713572b7594"/><dir name="Megaventorylog"><file name="Collection.php" hash="bf0a73388b11e7c26cc5629f4609dd33"/></dir><file name="Megaventorylog.php" hash="2d2acaa33c3a65338f3711232ac0727a"/><dir name="Productstocks"><file name="Collection.php" hash="4bbb1e8cb7365df22a5bb4becc1a2928"/></dir><file name="Productstocks.php" hash="875331f6f6eda5316276505396fb4626"/><dir name="Taxes"><file name="Collection.php" hash="2ba005f102cffc1e36fdf5a96042f22f"/></dir><file name="Taxes.php" hash="78f035f9d78f878ddccbc1b782ab63cb"/></dir><dir name="Notification"><file name="Feed.php" hash="3db99c6d0c19b60c20043d0cbacb9849"/></dir><file name="Observer.php" hash="10748c85bcef23b356663b83c74a6908"/><dir name="Product"><file name="Observer.php" hash="e3eeed6b5554faa5c83e2f8da7f23fdb"/></dir><file name="Productstocks.php" hash="cfb4905eb159b62b614cc463b8a4d09b"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="05c334b454b5f93f1cf3bbbf39485b97"/></dir></dir><dir name="Sales"><file name="Observer.php" hash="0bfb53a5e95defc780fbc38aa140a8e0"/></dir><dir name="Services"><dir name="Api"><file name="V2.php" hash="3fe9ab25a56006d4811e7d3da52b9c32"/></dir><file name="Api.php" hash="9627ef26c0d29b3ef5801e0e976bccc5"/></dir><dir name="Stock"><file name="Exporter.php" hash="d3e449aca921c3ab4f8f2181db88dcaf"/></dir><dir name="Stockitem"><file name="Observer.php" hash="71df67605c432bfdc25ae8b60ae66b31"/></dir><file name="Taxes.php" hash="f223b7efcbfac4ceb4b553725281e9f2"/></dir><dir name="sql"><dir name="megaventory_setup"><file name="mysql4-install-0.1.0.php" hash="2e1ce681394e2278868a10865660a41f"/><file name="mysql4-upgrade-0.1.0-0.1.5.php" hash="b9e25c46b3738eec98dbad13201c8751"/><file name="mysql4-upgrade-0.1.5-0.2.0.php" hash="2588ce62eb04c6dc20638e2110a3d2e5"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="3e4bcf4eecd578913fada55bbd4e4218"/><file name="mysql4-upgrade-0.3.0-1.0.0.php" hash="5dac061b4b58ff212722858db76de11d"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="megaventory"><file name="scripts.js" hash="f34681c44311c094255a52165da31d4f"/></dir><dir name="images"><dir name="megaventory"><file name="accept.png" hash="90134a31c616bab56f31472981244c0e"/><file name="exclamation.png" hash="e4dd51f46566ed3ceacdc900bf2fdf01"/><file name="infobutton.png" hash="b57cba82d84d3b333dd3654c39b97120"/><file name="message.png" hash="3cc350d4638c397345658a18c492d685"/><file name="pdf.png" hash="3e34bb1d7ae246eda83a8243e371b0cc"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="megaventory.xml" hash="d1ede978aba9e58e0bcf4f873d028b70"/></dir><dir name="template"><dir name="megaventory"><dir name="catalog"><dir name="product"><dir name="tab"><file name="inventory.phtml" hash="ffaebda15775f879a97f947b893d2c7c"/></dir></dir></dir><dir name="customer"><dir name="tab"><file name="view.phtml" hash="c5a30829f873360ffd69b9b55456318e"/></dir></dir><file name="megaventory.phtml" hash="20648fb92c42c5deaba7267443096e08"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mv_Megaventory.xml" hash="a7b18008632193e463a04c92852d32c4"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>