[18.0][IMP] rma: allow to confirm picking without rma access rights - #613
[18.0][IMP] rma: allow to confirm picking without rma access rights#613twalter-c2c wants to merge 1 commit into
Conversation
|
Hi @pedrobaeza, @chienandalu, |
de52196 to
31d7ff6
Compare
|
Another approach to fix the same problem: #614 |
31d7ff6 to
28a4e75
Compare
It is difficult to say which approach should be used. I would appreciate @pedrobaeza's opinion on that. |
|
Yes, I'm asking for just the sudo in #614, so I think this one seems correct. Not seen both tests to see which one is more focused and concise for the exact problem though. |
|
Personally, I don't like this solution, because even though it works (that method is always called with |
|
@victoralmau I think this solution is acceptable. There's no hiding at all, as we just want to confirm the picking without errors. Is there any drawback that I'm not seeing? |
The solution is correct; we'll simply be applying |
When RMA is installed, stock users without read access on rma model can hit an access error while confirming pickings, even if they never use RMA directly.