Skip to content

[FIX] stock_storage_type: Allow to have two rules for a storage type#1049

Merged
OCA-git-bot merged 1 commit intoOCA:16.0from
acsone:16.0-fix-storage-type-conditions-dro
Jun 6, 2025
Merged

[FIX] stock_storage_type: Allow to have two rules for a storage type#1049
OCA-git-bot merged 1 commit intoOCA:16.0from
acsone:16.0-fix-storage-type-conditions-dro

Conversation

@rousseldenis
Copy link
Copy Markdown

If there are several rules for a storage type (e.g.: in Pallets, you have Pallets/Pallets UK), don't bypass the next rules after the first condition evaluation.

If there are several rules for a storage type (e.g.: in Pallets, you have Pallets/Pallets UK),
don't bypass the next rules after the first condition evaluation.
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

@rousseldenis
Copy link
Copy Markdown
Author

@sebalix @jbaudoux

@rousseldenis rousseldenis added enhancement New feature or request needs review labels Jun 5, 2025
@rousseldenis rousseldenis added this to the 16.0 milestone Jun 5, 2025
Copy link
Copy Markdown
Contributor

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

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

good catch

will have to fwd port this to v18 @sebalix

@jbaudoux
Copy link
Copy Markdown
Contributor

jbaudoux commented Jun 6, 2025

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-1049-by-jbaudoux-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 813bbeb into OCA:16.0 Jun 6, 2025
6 of 7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

@jbaudoux
Copy link
Copy Markdown
Contributor

jbaudoux commented Jun 6, 2025

good catch

will have to fwd port this to v18 @sebalix

done here OCA/stock-logistics-putaway#7

@lmignon lmignon deleted the 16.0-fix-storage-type-conditions-dro branch June 10, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants