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

[14.0][FIX] stock_request: Remove route_ids fields from requests #2179

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

victoralmau
Copy link
Member

@victoralmau victoralmau commented Oct 21, 2024

Remove route_ids field from requests

It is not correct to set the route_ids field with the product routes, you must be able to select any route (similar to what is shown in the product form view).

Please @pedrobaeza and @carlos-lopez-tecnativa can you review it?

@Tecnativa TT50610

It is not correct to set the route_ids field with the product routes, you must be able
to select any route (similar to what is shown in the product form view).

TT50610
@victoralmau victoralmau marked this pull request as ready for review November 4, 2024 11:02
@pedrobaeza pedrobaeza added this to the 14.0 milestone Nov 4, 2024
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-2179-by-pedrobaeza-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4f766ed into OCA:14.0 Nov 4, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 0baba00. Thanks a lot for contributing to OCA. ❤️

@rousseldenis
Copy link
Contributor

Didn't see this. @JordiBForgeFlow @LoisRForgeFlow What do you think ? There is still #2184

@LoisRForgeFlow
Copy link
Contributor

@rousseldenis Thanks for the pointer.

@LoisRForgeFlow
Copy link
Contributor

@victoralmau @pedrobaeza I do not agree at all with this change, you tag removing a field and changing functionality as a fix... I don't think this is correct. I have processes using routes in stock request that are not product selectable...

@pedrobaeza
Copy link
Member

Let's focus the discussion on the other opened PR.

tafaRU added a commit to tafaRU/field-service that referenced this pull request Nov 12, 2024
This is due after merge of OCA/stock-logistics-warehouse#2179
Ortherwise the module upgrade raises a ValidationError while validating view.
@hparfr
Copy link
Contributor

hparfr commented Nov 12, 2024

So... this PR should be reverted ?

@max3903
Copy link
Member

max3903 commented Nov 12, 2024

Yes. How is the inventory user supposed to decide how to fulfill a stock request if there is no route?

Like the first comment says "if we must be able to select any route", the field should remain. Maybe with a different filter.

@pedrobaeza
Copy link
Member

The field is there, @max3903. What has been removed is the other supporting field with the "allowed routes". Now every route present in the product is able to be selected in the request.

@LoisRForgeFlow
Copy link
Contributor

So... this PR should be reverted ?

From my PoV, yes, this one should be removed to keep things aligned. @pedrobaeza is it ok?

@pedrobaeza
Copy link
Member

OK if you want to revert it. We are already going to 16 and our patch has converted to custom.

tafaRU added a commit to tafaRU/field-service that referenced this pull request Nov 14, 2024
This is due after merge of OCA/stock-logistics-warehouse#2179
Ortherwise the module upgrade raises a ValidationError while validating view.
@LoisRForgeFlow
Copy link
Contributor

Hi all, revert being done in #2198.

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.

8 participants