-
-
Notifications
You must be signed in to change notification settings - Fork 896
[19.0][MIG] purchase_order_supplier_return: Migration to 19.0 #2883
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
Closed
sergioM-S73
wants to merge
15
commits into
OCA:19.0
from
Studio73:19.0-mig-purchase_order_supplier_return
Closed
[19.0][MIG] purchase_order_supplier_return: Migration to 19.0 #2883
sergioM-S73
wants to merge
15
commits into
OCA:19.0
from
Studio73:19.0-mig-purchase_order_supplier_return
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Currently translated at 100.0% (1 of 1 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_order_supplier_return Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_order_supplier_return/it/
Currently translated at 100.0% (1 of 1 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_order_supplier_return Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_order_supplier_return/fr/
Currently translated at 100.0% (1 of 1 strings) Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_order_supplier_return Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_order_supplier_return/hr/
7062a47 to
54bb6c9
Compare
54bb6c9 to
705096c
Compare
Reyes4711-S73
approved these changes
Nov 11, 2025
Contributor
Reyes4711-S73
left a comment
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.
LGTM
Contributor
|
@sergioM-S73 I made the functional review and this module in a odoo 19.0 is useless. Odo base made this functionality without this module. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While migrating this module to v19, I ran into a test failure. The root cause is a core change in Odoo 19: the to_refund field on stock.move now defaults to True.
odoo/odoo@98fbff3
This caused the test to fail on the positive-quantity PO line, as it expected the value to be False.
My first thought was to adapt the module's logic to do the inverse (setting to_refund = False on standard receipts), however, I believe this is incorrect.
This situation led me to question the module's necessity.
#2116
To verify, I ran tests on Runboat instances for versions 16, 17, 18, and 19. In all cases, when validating a return picking generated from a purchase order with a negative quantity line, the received quantity is correctly updated
Therefore, I conclude that this module is redundant