Phxsolution_Autoinvoiceshipment - Version 0.2.0

Version Notes

Releasing version 0.2.0, Fixed auto shipment issue.

Download this release

Release Info

Developer Prakash Vaniya
Extension Phxsolution_Autoinvoiceshipment
Version 0.2.0
Comparing to
See all releases


Code changes from version 0.1.0 to 0.2.0

app/code/community/Phxsolution/Autoinvoiceshipment/Model/Observer.php CHANGED
@@ -69,7 +69,7 @@ class Phxsolution_Autoinvoiceshipment_Model_Observer
69
  $transactionSave->save();
70
  //END Handle Invoice
71
 
72
- /*//START Handle Shipment
73
  $shipment = $order->prepareShipment();
74
  $shipment->register();
75
  $order->setIsInProcess(true);
@@ -87,7 +87,7 @@ class Phxsolution_Autoinvoiceshipment_Model_Observer
87
  ->addObject($shipment)
88
  ->addObject($shipment->getOrder())
89
  ->save();
90
- //END Handle Shipment*/
91
 
92
  } catch (Exception $e) {
93
  $order->addStatusHistoryComment('Phxsolution_Autoinvoiceshipment: Exception occurred during automaticallyInvoiceShipCompleteOrder action. Exception message: '.$e->getMessage(), false);
69
  $transactionSave->save();
70
  //END Handle Invoice
71
 
72
+ //START Handle Shipment
73
  $shipment = $order->prepareShipment();
74
  $shipment->register();
75
  $order->setIsInProcess(true);
87
  ->addObject($shipment)
88
  ->addObject($shipment->getOrder())
89
  ->save();
90
+ //END Handle Shipment
91
 
92
  } catch (Exception $e) {
93
  $order->addStatusHistoryComment('Phxsolution_Autoinvoiceshipment: Exception occurred during automaticallyInvoiceShipCompleteOrder action. Exception message: '.$e->getMessage(), false);
app/code/community/Phxsolution/Autoinvoiceshipment/etc/config.xml CHANGED
@@ -27,7 +27,7 @@
27
  <config>
28
  <modules>
29
  <Phxsolution_Autoinvoiceshipment>
30
- <version>0.1.0</version>
31
  </Phxsolution_Autoinvoiceshipment>
32
  </modules>
33
  <adminhtml>
@@ -76,4 +76,11 @@
76
  </sales_order_save_after>
77
  </events>
78
  </global>
 
 
 
 
 
 
 
79
  </config>
27
  <config>
28
  <modules>
29
  <Phxsolution_Autoinvoiceshipment>
30
+ <version>0.2.0</version>
31
  </Phxsolution_Autoinvoiceshipment>
32
  </modules>
33
  <adminhtml>
76
  </sales_order_save_after>
77
  </events>
78
  </global>
79
+ <default>
80
+ <autoinvoiceshipment_section>
81
+ <settings>
82
+ <enabled>1</enabled>
83
+ </settings>
84
+ </autoinvoiceshipment_section>
85
+ </default>
86
  </config>
app/etc/modules/Phxsolution_Autoinvoiceshipment.xml CHANGED
@@ -29,7 +29,7 @@
29
  <Phxsolution_Autoinvoiceshipment>
30
  <active>true</active>
31
  <codePool>community</codePool>
32
- <version>0.1.0</version>
33
  </Phxsolution_Autoinvoiceshipment>
34
  </modules>
35
  </config>
29
  <Phxsolution_Autoinvoiceshipment>
30
  <active>true</active>
31
  <codePool>community</codePool>
32
+ <version>0.2.0</version>
33
  </Phxsolution_Autoinvoiceshipment>
34
  </modules>
35
  </config>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Phxsolution_Autoinvoiceshipment</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Payment processing module designed to generate invoice/shipment automatically after order is placed.</summary>
10
  <description>Payment processing module designed to generate invoice/shipment automatically after order is placed.</description>
11
- <notes>Fixed some minor bugs.</notes>
12
  <authors><author><name>Prakash Vaniya</name><user>phxsolution</user><email>contact@phxsolution.com</email></author></authors>
13
- <date>2014-12-25</date>
14
- <time>07:04:49</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Phxsolution_Autoinvoiceshipment.xml" hash="68843fb76191a45f99c0bfb5c39bf261"/></dir></target><target name="magecommunity"><dir name="Phxsolution"><dir name="Autoinvoiceshipment"><dir name="Helper"><file name="Data.php" hash="4766e6531d4ffd4a5a285b56387bd561"/></dir><dir name="Model"><file name="Observer.php" hash="fb8723bf74dac595a1be146eef068075"/></dir><dir name="etc"><file name="config.xml" hash="36dc67655f76cac525c78f776a577575"/><file name="system.xml" hash="7a564ec6d3c5fd230cce8ca0c3f3fa8f"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Phxsolution_Autoinvoiceshipment</name>
4
+ <version>0.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Releasing version 0.2.0, Fixed auto shipment issue.</summary>
10
  <description>Payment processing module designed to generate invoice/shipment automatically after order is placed.</description>
11
+ <notes>Releasing version 0.2.0, Fixed auto shipment issue.</notes>
12
  <authors><author><name>Prakash Vaniya</name><user>phxsolution</user><email>contact@phxsolution.com</email></author></authors>
13
+ <date>2015-02-12</date>
14
+ <time>09:54:23</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Phxsolution_Autoinvoiceshipment.xml" hash="02c5273e24faae111464d62b2e2681b5"/></dir></target><target name="magecommunity"><dir name="Phxsolution"><dir name="Autoinvoiceshipment"><dir name="Helper"><file name="Data.php" hash="4766e6531d4ffd4a5a285b56387bd561"/></dir><dir name="Model"><file name="Observer.php" hash="78622994b6b3ddf556de2b4fc796bdfc"/></dir><dir name="etc"><file name="config.xml" hash="1bef927f60f85fd22fbb5530611af3ee"/><file name="system.xml" hash="7a564ec6d3c5fd230cce8ca0c3f3fa8f"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>