Version Notes
Bug fix: Export orders that have the "Processing" status by default.
Download this release
Release Info
Developer | Karsten Hoffmann |
Extension | Adventos_OrderExport |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.4.1
app/code/local/Adventos/OrderExport/Model/Observer.php
CHANGED
@@ -448,6 +448,7 @@ class Adventos_OrderExport_Model_Observer {
|
|
448 |
$order = $observer->getEvent()->getOrder();
|
449 |
Mage::log("an order has been received. Order status is: ".$order->getStatus());
|
450 |
if ($order->getStatus() == Mage_Sales_Model_Order::STATE_PROCESSING) {
|
|
|
451 |
Mage::dispatchEvent('adventos_orderexport_export_single_order' , array('order' => $order));
|
452 |
Mage::Log("==== Export Event Fired ===");
|
453 |
}
|
448 |
$order = $observer->getEvent()->getOrder();
|
449 |
Mage::log("an order has been received. Order status is: ".$order->getStatus());
|
450 |
if ($order->getStatus() == Mage_Sales_Model_Order::STATE_PROCESSING) {
|
451 |
+
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING);
|
452 |
Mage::dispatchEvent('adventos_orderexport_export_single_order' , array('order' => $order));
|
453 |
Mage::Log("==== Export Event Fired ===");
|
454 |
}
|
app/code/local/Adventos/OrderExport/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Adventos_OrderExport>
|
5 |
-
<version>1.4.
|
6 |
</Adventos_OrderExport>
|
7 |
</modules>
|
8 |
<admin>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Adventos_OrderExport>
|
5 |
+
<version>1.4.1</version>
|
6 |
</Adventos_OrderExport>
|
7 |
</modules>
|
8 |
<admin>
|
package.xml
CHANGED
@@ -1,20 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Adventos_OrderExport</name>
|
4 |
-
<version>1.4.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Magento integration for HeadOffice</summary>
|
10 |
<description>Create Order XML file to integrate Magento with HeadOffice and synchronize stock, order status, invoice, shipments and credit memos.</description>
|
11 |
-
<notes>
|
12 |
-

|
13 |
-
Export orders that have the "Processing" status by default.</notes>
|
14 |
<authors><author><name>Karsten Hoffmann</name><user>adventos</user><email>karsten@adventos.de</email></author></authors>
|
15 |
<date>2014-10-02</date>
|
16 |
-
<time>
|
17 |
-
<contents><target name="magelocal"><dir name="Adventos"><dir name="OrderExport"><dir name="Helper"><file name="Data.php" hash="f90dd7d2136cfb6349ba1d7ee939cd15"/></dir><dir name="Model"><dir name="Creditmemo"><dir name="Api"><file name="V2.php" hash="797a58eedbbe8bf1a0c20d7c8599f8be"/></dir><file name="Api.php" hash="c41e82cf79235d51f25d248719e93f92"/></dir><dir name="Invoice"><dir name="Api"><file name="V2.php" hash="3596dc5fe58a597ba5f244b52687288e"/></dir><file name="Api.php" hash="280512b1ae37690871384b3cba0a3a2b"/></dir><file name="Observer.php" hash="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Adventos_OrderExport</name>
|
4 |
+
<version>1.4.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Magento integration for HeadOffice</summary>
|
10 |
<description>Create Order XML file to integrate Magento with HeadOffice and synchronize stock, order status, invoice, shipments and credit memos.</description>
|
11 |
+
<notes>Bug fix: Export orders that have the "Processing" status by default. </notes>
|
|
|
|
|
12 |
<authors><author><name>Karsten Hoffmann</name><user>adventos</user><email>karsten@adventos.de</email></author></authors>
|
13 |
<date>2014-10-02</date>
|
14 |
+
<time>14:21:49</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Adventos"><dir name="OrderExport"><dir name="Helper"><file name="Data.php" hash="f90dd7d2136cfb6349ba1d7ee939cd15"/></dir><dir name="Model"><dir name="Creditmemo"><dir name="Api"><file name="V2.php" hash="797a58eedbbe8bf1a0c20d7c8599f8be"/></dir><file name="Api.php" hash="c41e82cf79235d51f25d248719e93f92"/></dir><dir name="Invoice"><dir name="Api"><file name="V2.php" hash="3596dc5fe58a597ba5f244b52687288e"/></dir><file name="Api.php" hash="280512b1ae37690871384b3cba0a3a2b"/></dir><file name="Observer.php" hash="8037bf29b8c1902f3fbfa0dc9d17d3de"/><dir name="Shipment"><dir name="Api"><file name="V2.php" hash="3d7824e13e4d5cedb755b4858398f23e"/></dir><file name="Api.php" hash="0b9bf452b7e36c1ee5cefbb3d6c5eb3b"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="b9e0e5a0baabed9482061f5c7c12a5ff"/></dir></dir><dir name="etc"><file name="api.xml" hash="c1b2bc277e329b8191bcc5358cb96581"/><file name="config.xml" hash="a2d7afc47d1a825fd9f91a807055d70e"/><file name="system.xml" hash="d7feaf247eed064d617138508dd88fe4"/><file name="wsdl.xml" hash="1538d2cb05f819c45e807f992c1b7cb3"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Adventos_OrderExport.xml" hash="479b13bf3a08de9f93f5f58d77d3f9bb"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|