Skip to content

[IMP] purchase_request: split field "Quantity in RFQ or PO"" - #2699

Open
jcadhoc wants to merge 1 commit into
OCA:18.0from
adhoc-dev:18.0-t-50611-jc
Open

[IMP] purchase_request: split field "Quantity in RFQ or PO""#2699
jcadhoc wants to merge 1 commit into
OCA:18.0from
adhoc-dev:18.0-t-50611-jc

Conversation

@jcadhoc

@jcadhoc jcadhoc commented May 28, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@jcadhoc
jcadhoc force-pushed the 18.0-t-50611-jc branch from 3a9ad02 to 134688c Compare May 28, 2025 18:44
@jcadhoc
jcadhoc force-pushed the 18.0-t-50611-jc branch 2 times, most recently from 2a1d6b0 to 557ccf2 Compare September 26, 2025 17:29
@OCA-git-bot OCA-git-bot added series:18.0 mod:purchase_request Module purchase_request labels Aug 3, 2026
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.
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