Closed (works as designed)
Project:
Commerce Return Merchandise Authorization
Version:
7.x-2.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2014 at 19:12 UTC
Updated:
13 Jun 2015 at 19:37 UTC
Jump to comment: Most recent
Comments
Comment #1
jkuma commentedHello yaworsk,
Thanks for raising this up, from my perspective, it should sounds natural to have the logged user as the owner of for a new return. Since the logged user has proceeded to creation of a new return, it deserves to be the owner of it (even if the original order used to belong to someone else).
Comment #2
yaworsk commentedHi goldorak - what if the logged in user is doing it on behalf of someone else. Here's a scenario - we have a "portal" site and a "channel" site. Users log into the portal site which queries channel for all orders which can be refunded. The user submits a request to refund an order which in turn happens on the channel site. The actual communication between portal and channel is done by a specific user with specific permissions but the owner of the refund on the channel should actually be the requestor.
In other words, there may be situations where the creator is creating the refund on behalf of someone else (i.e., customer service).
Comment #3
jkuma commentedOk, I understand your case, but from my perspective, the creator of the new return has to use the admin UI instead of the user UI.
Indeed, hit the admin/commerce/orders/%order_id/edit page, you should find a "Create a new return" link. Clicking on that link, you'll get redirected to an admin page where you can start the creation of a new return and also filled out the return's owner. Does it meet your needs? Also make sure the user is granted to create returns and she has the right permissions: "Edit orders" and "Manage returns".
I'll work next days on a complete documentation because I know we are not good on that...
Comment #4
yaworsk commentedHey, yeah completely agree, it should be the admin attributing the return, not the user, completely agree.
I did try to attribute the return from the admin ui as the site's user 1 but it always went back to the original order owner. Happy to look into it and contribute a patch since it sounds like that is how the functionality was intended. I may be just be missing something.
Comment #5
jkuma commentedHello,
This issue has been solved since the patch #2378497: Losing infromation when update an order has been ported to dev branch. I'm closing this issue, make sure to update your commerce_rma module to its latest version. Also, feel free to re-open this issue if you are still facing this bug.