-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
[13.0][MIG] maintenance_stock: Migration to 13.0 #337
Conversation
Currently translated at 96.7% (29 of 30 strings) Translation: maintenance-12.0/maintenance-12.0-maintenance_stock Translate-URL: https://translation.odoo-community.org/projects/maintenance-12-0/maintenance-12-0-maintenance_stock/es/
Currently translated at 100.0% (30 of 30 strings) Translation: maintenance-12.0/maintenance-12.0-maintenance_stock Translate-URL: https://translation.odoo-community.org/projects/maintenance-12-0/maintenance-12-0-maintenance_stock/pt_BR/
Currently translated at 100.0% (30 of 30 strings) Translation: maintenance-12.0/maintenance-12.0-maintenance_stock Translate-URL: https://translation.odoo-community.org/projects/maintenance-12-0/maintenance-12-0-maintenance_stock/it/
Currently translated at 100.0% (30 of 30 strings) Translation: maintenance-12.0/maintenance-12.0-maintenance_stock Translate-URL: https://translation.odoo-community.org/projects/maintenance-12-0/maintenance-12-0-maintenance_stock/it/
c44f8c4
to
19e624d
Compare
@dalonsod Please can you help me with a review ? |
@rhe-mastercore maybe you can help with a review here :) |
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.
Thanks for the contribution! Only code review
def _get_locations_values(self, vals, code=False): | ||
sub_locations = super()._get_locations_values(vals) | ||
code = vals.get("code") or self.code |
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.
I'm not sure, but with new _get_locations_values
definition, should this code be like this (not tested)?
def _get_locations_values(self, vals, code=False): | |
sub_locations = super()._get_locations_values(vals) | |
code = vals.get("code") or self.code | |
def _get_locations_values(self, vals, code=False): | |
sub_locations = super()._get_locations_values(vals, code=code) | |
code = vals.get("code") or code or self.code |
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.
you're right
19e624d
to
4e3b7b0
Compare
The Job pre-commit is falling but I don't know how to resolve it. |
I'm sorry, I don't know why that error is raised. Anyway, it could be only a temporary issue, could you update PR with a dummy commit, so github actions should be fired again and check if error persists? |
4e3b7b0
to
41b6232
Compare
@dalonsod Review again please. |
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.
Tested 👍 using existing and new warehouses.
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 nobump
This PR has the |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 7fdb7cb. Thanks a lot for contributing to OCA. ❤️ |
No description provided.