-
-
Notifications
You must be signed in to change notification settings - Fork 41
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][MIG] stock_request_direction: Migration to 16.0 #20
Conversation
Currently translated at 100.0% (5 of 5 strings) Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_request_direction Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request_direction/zh_CN/
Currently translated at 100.0% (5 of 5 strings) Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_request_direction Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request_direction/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_request_direction Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_request_direction/
Since the location and routes depend on the warehouse that is selected on the stock request order, if the warehouse changes then so will the route options. This adds an on change event so if the warehouse changes, then the direction gets cleared and so do the routes on the product lines. This forces the user to properly reset the items using the correct routes for the newly selected warehouse.
The onchange method in the stock_request module is no longer needed so this overrides that to do nothing.
…ny editabe tree on sro request model
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_request_direction Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_request_direction/
Currently translated at 100.0% (8 of 8 strings) Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_request_direction Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_request_direction/it/
This PR has the |
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
Hi @max3903 , is this ready to merge? |
/ocabot migration stock_request_direction |
/ocabot merge nobump |
There's no issue in this repo with the title 'Migration to version 16.0' and the milestone 16.0, so not possible to add the comment. |
This PR looks fantastic, let's merge it! |
@max3903 The merge process could not be finalized, because command
|
@max3903 i have to do something or it's an error with oca addon? |
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
@LoisRForgeFlow The merge process could not be finalized, because command
|
41a0bb2
to
7e35760
Compare
Can you relaunch again @LoisRForgeFlow please. I fixed the error |
sure /ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 478ed82. Thanks a lot for contributing to OCA. ❤️ |
Thanks! |
Module migrated to version 16.0
cc https://github.com/APSL 153667
@miquelalzanillas @lbarry-apsl @javierobcn @mpascuall please review