Try the Demo

Magento Forum

   
Create Invoice don´t change Status to Processing on 1.1.5
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

Friends,

When you create an invoice for order, the order status is not changed to processing as it where in 1.1.4.

Any help on this?

This is urgent as we have more than 20 confirmed orders per day.

We are changing the order status manually in MySQL using the following code:

update sales_order_varchar 
set    
`value`= 'processing' 
where  `attribute_idin (233234) and 
       `
entity_idin ()

Regards,

 Signature 

André Cruz
BioStore Ecommerce Group
Especialista em E-commerceLoja Virtual 100% Magento

 
Magento Community Magento Community
Magento Community
Magento Community
 
bytestorm
Magento Team
 
Total Posts:  91
Joined:  2008-04-02
 

Hi,
we’ve confirmed existence of this bug in v1.1.5 and will fix it asap

 
Magento Community Magento Community
Magento Community
Magento Community
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

thanks!

regards,

 Signature 

André Cruz
BioStore Ecommerce Group
Especialista em E-commerceLoja Virtual 100% Magento

 
Magento Community Magento Community
Magento Community
Magento Community
 
bytestorm
Magento Team
 
Total Posts:  91
Joined:  2008-04-02
 

here you go. patch is in attachment.
additionally there’s instructions about how to fix it manually:

in app/code/core/Mage/Adminhtml/controllers/Sales/Order/InvoiceController.php find the following code (line 293):

$invoice->register();

if (!empty(
$data['send_email'])) {
    $invoice
->setEmailSent(true);
}

then add

$invoice->getOrder()->setIsInProcess(true);

so you will get something like

$invoice->register();

if (!empty(
$data['send_email'])) {
    $invoice
->setEmailSent(true);
}

$invoice
->getOrder()->setIsInProcess(true);

$transactionSave Mage::getModel('core/resource_transaction')
    ->
addObject($invoice)
    ->
addObject($invoice->getOrder());
$shipment false;

File Attachments
InvoiceController.php.patch.txt  (File Size: 1KB - Downloads: 148)
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top