-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
[16.0][FIX] repair_picking_after_done: get picking type #35
[16.0][FIX] repair_picking_after_done: get picking type #35
Conversation
… to be able to create transfers if a repair is duplicated
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! 👍🏼
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!
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
/ocabot merge patch
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 016850e. Thanks a lot for contributing to OCA. ❤️ |
This is how Odoo does it: https://github.com/odoo/odoo/blob/16.0/addons/repair/models/repair.py#L195
Otherwise granchildren locations were not considered and the warehouse is not found.
Edit: also fixed the copy attribute in picking_ids field. We don't want the pickings to be copied to the copied repair order.
cc @ForgeFlow