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

Fix validation mismatch in inventory dimension fields #46171

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

JK-1117
Copy link

@JK-1117 JK-1117 commented Feb 27, 2025

In the file inventory_dimension.py, the inventory dimension fields were created using source_fieldname. However, in the stock_reconciliation.py file, the validation was performed against target_fieldname instead, leading to incorrect validation logic.

This pull request fixes the issue by ensuring that the validation is performed consistently with the fieldnames used during the creation of the inventory dimension fields.

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant