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_warehouse_flow: Migration to 16.0 #704

Merged
merged 12 commits into from
Sep 7, 2023

Conversation

RodrigoBM
Copy link
Contributor

@RodrigoBM RodrigoBM changed the title 16.0 mig stock warehouse flow [16.0][MIG] stock_warehouse_flow: Migration to 16.0 Aug 3, 2023
@RodrigoBM RodrigoBM mentioned this pull request Aug 4, 2023
18 tasks
@RodrigoBM
Copy link
Contributor Author

test do not pass, this #707 is necessary before

Copy link

@xAdrianCif xAdrianCif left a comment

Choose a reason for hiding this comment

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

Technical review

@RodrigoBM RodrigoBM force-pushed the 16.0-mig-stock_warehouse_flow branch from 55f1a62 to d78cf73 Compare August 7, 2023 16:04
@RodrigoBM RodrigoBM marked this pull request as ready for review August 7, 2023 16:05
@RodrigoBM
Copy link
Contributor Author

Add this fix #705

Copy link
Contributor

@jsanchezdeavila jsanchezdeavila left a comment

Choose a reason for hiding this comment

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

sebalix and others added 12 commits September 6, 2023 14:16
New feature allowing to re-qualify the operation type of a stock move at
confirmation. The main criteria to requalify a move is the carrier, as this
one often implies a dedicated routing (we do not have the same flow, nor the
same carrier, depending if we ship a pallet or a bunch of products for instance).

This job was previously done by configuring the stock_dynamic_routing
with a domain on the carrier, but the dynamic routing was applied on
reservation, while we could already qualify moves at confirmation.
The glue module `stock_warehouse_flow_release` is here to ensure the
compatibility.
Just have the function return the same kind of recordset for every
return statement
Add an error raising if there are routing flows but none are matched with
the `move_domain` on the flow.
This allows to configure a split_method simple on a flow
by setting also the split_qty the move get split before the apply
Also if a flow is marked as simple split, it only applies on moves
where the move product_qty >= split_qty
@sebalix sebalix added this to the 16.0 milestone Sep 7, 2023
@sebalix
Copy link
Contributor

sebalix commented Sep 7, 2023

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-704-by-sebalix-bump-nobump, awaiting test results.

@sebalix
Copy link
Contributor

sebalix commented Sep 7, 2023

Thank you @RodrigoBM

@RodrigoBM
Copy link
Contributor Author

Thank you @RodrigoBM

You are welcome.

@OCA-git-bot OCA-git-bot merged commit ce8f671 into OCA:16.0 Sep 7, 2023
4 of 6 checks passed
@OCA-git-bot
Copy link
Contributor

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

@RodrigoBM RodrigoBM deleted the 16.0-mig-stock_warehouse_flow branch September 7, 2023 08:19
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