[IMP] purchase_request: split field "Quantity in RFQ or PO"" - #2699
Open
jcadhoc wants to merge 1 commit into
Open
[IMP] purchase_request: split field "Quantity in RFQ or PO""#2699jcadhoc wants to merge 1 commit into
jcadhoc wants to merge 1 commit into
Conversation
mav-adhoc
approved these changes
Sep 10, 2025
jcadhoc
force-pushed
the
18.0-t-50611-jc
branch
2 times, most recently
from
September 26, 2025 17:29
2a1d6b0 to
557ccf2
Compare
les-adhoc
force-pushed
the
18.0-t-50611-jc
branch
from
September 1, 2026 21:18
39ac6a1 to
84a9678
Compare
Tell apart what has already been ordered from what is still in a request for quotation, both in the quantities and in the purchase status of a request line: * purchased_qty holds the quantity in purchase orders that are confirmed or locked, and the new rfq_qty holds the quantity in orders that are not confirmed yet. Until now a single field mixed the two. Cancelled order lines keep being left out of both. * the purchase status reports "Partially Purchased" when the orders only cover part of the requested quantity, instead of reporting the line as fully purchased. The status keeps taking the rest of its values from purchase.order, so they stay translated, and keeps reacting to a cancelled or to be approved order. As it now depends on quantities too, they are added to the compute dependencies: a line no longer keeps a stale status when the requested or the ordered quantity changes.
les-adhoc
force-pushed
the
18.0-t-50611-jc
branch
from
September 2, 2026 18:55
84a9678 to
a684402
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.