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

[MIG] stock_request_direction: Migration to 18.0 #53

Open
wants to merge 25 commits into
base: 18.0
Choose a base branch
from

Conversation

SMaciasOSI
Copy link

No description provided.

max3903 and others added 24 commits January 7, 2025 15:28
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/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-request-16.0/stock-logistics-request-16.0-stock_request_direction
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-request-16-0/stock-logistics-request-16-0-stock_request_direction/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-request-17.0/stock-logistics-request-17.0-stock_request_direction
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-request-17-0/stock-logistics-request-17-0-stock_request_direction/
@max3903 max3903 changed the title [MIG] stock_logistics_request: Migration to 18.0 [MIG] stock_request_direction: Migration to 18.0 Jan 7, 2025
@max3903 max3903 added this to the 18.0 milestone Jan 7, 2025
@max3903
Copy link
Member

max3903 commented Jan 7, 2025

/ocabot migration stock_request_direction

@OCA-git-bot OCA-git-bot mentioned this pull request Jan 7, 2025
8 tasks
@rousseldenis
Copy link
Contributor

@SMaciasOSI Could you change migration commit message to something like [MIG] stock_request_direction: Migration to 18.0 ?

image

IMHO, you can squash your view fix in the preceding commit as that view is mandatory for migration

@SMaciasOSI SMaciasOSI force-pushed the 18.0-mig-stock-request-direction branch from 960a284 to b5adff6 Compare January 8, 2025 14:27
@SMaciasOSI SMaciasOSI force-pushed the 18.0-mig-stock-request-direction branch from b5adff6 to e5b81db Compare January 8, 2025 14:29
@SMaciasOSI
Copy link
Author

@SMaciasOSI Could you change migration commit message to something like [MIG] stock_request_direction: Migration to 18.0 ?

image

IMHO, you can squash your view fix in the preceding commit as that view is mandatory for migration

Done

@SMaciasOSI
Copy link
Author

@rousseldenis Could you review to see if we can merge?

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.