-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0][FIX] rma_sale_mrp: _check_rma_invoice_lines_qty #351
[14.0][FIX] rma_sale_mrp: _check_rma_invoice_lines_qty #351
Conversation
Hi @chienandalu, |
@pedrobaeza and @chienandalu could you please do the review. |
Can you please add steps to reproduce the problem? Also a regression test would be welcome. |
You can reproduce the problem if you install rma_sale_mrp with demo data and the run the tests of the base rma module |
Tests are not re-entrant by default. We have this module installed, and our users do both type of RMA without problem, so I insist in a reproducible steps to reproduce the problem. |
Ok then you can reproduce the error like this. rma/rma/models/account_move.py Line 30 in 50d86ae
But the error will not be thrown. |
@chienandalu do you understand the problem? I don't. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think is ok @pedrobaeza
@mt-software-de thanks for the fix :)
A comment on the method override design:
352ea55
to
e77e3c4
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
e77e3c4
to
c73a371
Compare
@chienandalu can you update your review and remove the stale label? |
c73a371
to
c971910
Compare
…s with phantom_bom_product set~
c971910
to
c2eb231
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge patch
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at fa25e40. Thanks a lot for contributing to OCA. ❤️ |
checks now only lines with a phantom_bom_product set
If we are trying to post a refund for rma without kit and a lower qty than defined in the rma.
There will no error thrown, as designed here
rma/rma/models/account_move.py
Line 30 in 50d86ae