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

[17.0][FIX] stock_quant_manual_assign: fix calculation in the quant manual reservation for MO #2274

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

Conversation

MeritxellAForgeFlow
Copy link

When manually assigning the quants for a MO, in case the previously reserved quantity was higher than the on-hand quantity, the line quantity was negative. This PR fixes the problem so the amount can only be 0 or positive.

@DavidJForgeFlow

Copy link
Contributor

@DavidJForgeFlow DavidJForgeFlow left a comment

Choose a reason for hiding this comment

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

Makes sense!

@MeritxellAForgeFlow MeritxellAForgeFlow force-pushed the 17.0-fix-stock_quant_manual_assign branch from 6566596 to 79c22d9 Compare February 27, 2025 08:50
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