-
-
Notifications
You must be signed in to change notification settings - Fork 721
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
Conversation
581842d
to
af204c6
Compare
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
9cef1ad
to
8b4cb18
Compare
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 minor
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 0baba00. Thanks a lot for contributing to OCA. ❤️ |
Didn't see this. @JordiBForgeFlow @LoisRForgeFlow What do you think ? There is still #2184 |
@rousseldenis Thanks for the pointer. |
@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... |
Let's focus the discussion on the other opened PR. |
This is due after merge of OCA/stock-logistics-warehouse#2179 Ortherwise the module upgrade raises a ValidationError while validating view.
So... this PR should be reverted ? |
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. |
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. |
From my PoV, yes, this one should be removed to keep things aligned. @pedrobaeza is it ok? |
OK if you want to revert it. We are already going to 16 and our patch has converted to custom. |
This is due after merge of OCA/stock-logistics-warehouse#2179 Ortherwise the module upgrade raises a ValidationError while validating view.
Hi all, revert being done in #2198. |
Remove
route_ids
field from requestsIt 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