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] ddmrp_product_replace #354

Merged
merged 39 commits into from Dec 5, 2023

Conversation

LoisRForgeFlow
Copy link
Contributor

Standard migration.

LoisRForgeFlow and others added 30 commits December 4, 2023 15:24
* Migration to 11.0
* Add unittest
* Ensure putaway stategies are correctly copied
…are visible after a executing a product replacement.
[UPD] Update ddmrp_product_replace.pot
[UPD] Update ddmrp_product_replace.pot
Some of the main changes included are:
* replacement can be done to a new buffer, instead of changing
  the buffer of the replaced buffer. (new mode "new_buffer")
* In the new mode buffers are related via `replaced_by_id` field.
* Boolean `use_replacement_for_buffer_status` allow to consider
  buffers being replaced in NFP (via on-hand and incoming).
* warnings shown for products being replaced when procuring, and
  procure recommendation is now 0 if the buffer is not
  distributed.
* Views adaptations and improvements.
* Old funtionality kept in mode "use_existing".

[UPD] Update ddmrp_product_replace.pot
…lso for qualified demand.

This way, products replaced by a given buffer can affect the net flow
position of the replacing buffer on the demand side as well.
includes a small fix to avoid singleton errors.

[UPD] Update ddmrp_product_replace.pot
When a replaced buffer is auto-updated its replacement buffers
should also be auto-updated.

[UPD] Update ddmrp_product_replace.pot
Add the product vendor code on the stock buffer based on the already
computed main supplier.
Take into account product replacements when the incoming qty is computed.
@LoisRForgeFlow
Copy link
Contributor Author

/ocabot migration ddmrp_product_replace

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Dec 4, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 4, 2023
13 tasks
Copy link
Contributor

@JordiMForgeFlow JordiMForgeFlow left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@JoanSForgeFlow JoanSForgeFlow left a comment

Choose a reason for hiding this comment

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

LGTM! 😍

@LoisRForgeFlow
Copy link
Contributor Author

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-354-by-LoisRForgeFlow-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 2f2c254 into OCA:16.0 Dec 5, 2023
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@LoisRForgeFlow LoisRForgeFlow deleted the 16.0-mig-ddmrp_product_replace branch December 5, 2023 08:37
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.

None yet