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

OLMIS-7725: Removed reasons validation from doInitiate method #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sradziszewski
Copy link
Contributor

@sradziszewski sradziszewski commented Jun 16, 2023

Jira task link: https://openlmis.atlassian.net/browse/OLMIS-7725


This change is Reviewable

@@ -243,9 +239,6 @@ InitiateResult doInitiate(UUID programId, UUID facilityId, UUID suggestedPeriod,
program, facility, period, emergency, stockAdjustmentReasons,
requisitionTemplate, approvedProducts);

profiler.start("VALIDATE_REASONS");
reasonsValidator.validate(stockAdjustmentReasons, newRequisition.getTemplate());
Copy link

Choose a reason for hiding this comment

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

we cannot remove validation just like that. I know that it makes sense for Malawi impl because of their requestion, however it should be more generic solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants