Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Magento Bug - Credit Memo Returns only a quantity of 1 back to stock regardless of quantity it is supposed to return
 
designer84
Sr. Member
 
Total Posts:  102
Joined:  2009-08-20
 

Credit Memo Returns only a quantity of 1 back to stock regardless of quantity it is supposed to return.

Sample Setup::

Customer orders the following:
1 qty of Product A
4 qty of Product B
2 qty of Product C

* Now products A, B & C are out of stock (0 qty)

Customer wants full refund (returns everything). We process refund through system as Credit Memo.

Return to stock is Checked for each item.
Qty to refund is set to:
1 qty of Product A
4 qty of Product B
2 qty of Product C

Products are refunded (and look like all of them have been put back in stock). Check product quantities....

[ Actual Result ]

Product A went from qty of 0 to qty of 1
Product B went from qty of 0 to qty of 1
Product C went from qty of 0 to qty of 1

[ **Expected** Result ]

Product A should go from qty of 0 to qty of 1
Product B should go from qty of 0 to qty of 4
Product C should go from qty of 0 to qty of 2

Anyone run into and know how to fix it?  This is hindering order processing!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Kirladu
Jr. Member
 
Total Posts:  12
Joined:  2008-12-03
 

Running Magento 1.6.2 I can confirm the described misbehaviour.

When refunding items in a credit memo always only 1 piece is added to the existing stock instead of the correct refunded quantity!

Searching for the problem I got lost in the code starting from app/code/core/Mage/Sales/Model/Order/Creditmemo.php

Anyone any ideas?

It’s a serious problem since there are many wrong stock numbers left if one creates several credit memos!

 
Magento Community Magento Community
Magento Community
Magento Community
 
q23media
Member
 
Avatar
Total Posts:  72
Joined:  2009-04-29
 

we too.

it’s a shame!

 
Magento Community Magento Community
Magento Community
Magento Community
 
jezcentre
Jr. Member
 
Total Posts:  3
Joined:  2011-11-12
 

Was a solution to this ever found?  Up till now we are happy that no refund needed to be done but we had noted this issue during testing before launch....

 
Magento Community Magento Community
Magento Community
Magento Community
 
designer84
Sr. Member
 
Total Posts:  102
Joined:  2009-08-20
 

Their solution was to upgrade to 1.7....uggghhhh! Then they closed the ticket. What b.s.! This is a major enough issue to warrant a patch.

http://www.magentocommerce.com/bug-tracking/issue?issue=13610

jezcentre - 05 August 2012 07:52 AM

Was a solution to this ever found?  Up till now we are happy that no refund needed to be done but we had noted this issue during testing before launch....

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bright Ideas
Sr. Member
 
Total Posts:  140
Joined:  2011-04-17
Mumbai
 
designer84 - 10 May 2012 02:08 PM

Credit Memo Returns only a quantity of 1 back to stock regardless of quantity it is supposed to return.

Sample Setup::

Customer orders the following:
1 qty of Product A
4 qty of Product B
2 qty of Product C


* Now products A, B & C are out of stock (0 qty)

Customer wants full refund (returns everything). We process refund through system as Credit Memo.

Return to stock is Checked for each item.
Qty to refund is set to:
1 qty of Product A
4 qty of Product B
2 qty of Product C


Products are refunded (and look like all of them have been put back in stock). Check product quantities....

[ Actual Result ]

Product A went from qty of 0 to qty of 1
Product B went from qty of 0 to qty of 1
Product C went from qty of 0 to qty of 1

[ **Expected** Result ]

Product A should go from qty of 0 to qty of 1
Product B should go from qty of 0 to qty of 4
Product C should go from qty of 0 to qty of 2

Anyone run into and know how to fix it?  This is hindering order processing!

Did you find the solution? I am in urgent need of this. Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bright Ideas
Sr. Member
 
Total Posts:  140
Joined:  2011-04-17
Mumbai
 

Its the bug.

Check the solution here

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top