Skip to content
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 #1979

Closed
wants to merge 29 commits into from
Closed

[16.0][MIG] stock_request_direction: Migration to 16.0 #1979

wants to merge 29 commits into from

Conversation

peluko00
Copy link

@peluko00 peluko00 commented Apr 4, 2024

Module migrated to version 16.0

cc https://github.com/APSL 153667

@miquelalzanillas @lbarry-apsl @javierobcn @mpascuall please review

Issue: #1494

max3903 and others added 28 commits April 4, 2024 08:14
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.
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/
@peluko00 peluko00 mentioned this pull request Apr 4, 2024
69 tasks
@rousseldenis
Copy link
Contributor

/ocabot migration stock_request_direction

@rousseldenis
Copy link
Contributor

@peluko00 Could you do your PR there : https://github.com/OCA/stock-logistics-request ? Thanks

@peluko00
Copy link
Author

peluko00 commented Apr 4, 2024

@peluko00 Could you do your PR there : https://github.com/OCA/stock-logistics-request ? Thanks

OCA/stock-logistics-request#19
Open migration 16.0 issue please @rousseldenis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.