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] ddmrp: use archived locations in the ADU computation #250

Merged

Conversation

sebalix
Copy link
Contributor

@sebalix sebalix commented Apr 21, 2023

When computing the ADU from X past days, archived locations are not taken into account, resulting in a wrong qty.
Same issue for the consumption view.

Ref. 4064

@OCA-git-bot
Copy link
Contributor

Hi @LoisRForgeFlow, @JordiBForgeFlow,
some modules you are maintaining are being modified, check this out!

@sebalix sebalix force-pushed the 14-ddmrp-handle-archived-locations branch from ed7f695 to 10b1a85 Compare April 21, 2023 08:55
ddmrp/models/stock_buffer.py Outdated Show resolved Hide resolved
ddmrp/models/stock_buffer.py Outdated Show resolved Hide resolved
@sebalix sebalix force-pushed the 14-ddmrp-handle-archived-locations branch from 10b1a85 to 387a0cb Compare April 21, 2023 11:24
@LoisRForgeFlow
Copy link
Contributor

LoisRForgeFlow commented Apr 26, 2023

Tests are failing, otherwise the change looks fine.

@sebalix sebalix force-pushed the 14-ddmrp-handle-archived-locations branch from 387a0cb to 6426a1d Compare July 4, 2023 14:57
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@sebalix sebalix force-pushed the 14-ddmrp-handle-archived-locations branch from 6426a1d to d63ee0c Compare July 4, 2023 15:03
@sebalix sebalix force-pushed the 14-ddmrp-handle-archived-locations branch from d63ee0c to dfcb9b4 Compare July 4, 2023 15:14
@sebalix
Copy link
Contributor Author

sebalix commented Jul 4, 2023

@LoisRForgeFlow sorry for being late, I rebased the PR and fix the issue to make tests working again.

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

Thanks for fixing, LGTM 👍

@LoisRForgeFlow
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 14.0-ocabot-merge-pr-250-by-LoisRForgeFlow-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit d75fdd1 into OCA:14.0 Jul 5, 2023
@OCA-git-bot
Copy link
Contributor

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

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.

5 participants