OdooWiki OCA HUB

Purchase order line stock available

purchase_order_line_stock_available folder_open OCA/purchase-workflow open_in_new
Purchases License: AGPL-3

This module allows to view the virtual stock quantity of a product in the purchase order line.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows the forecasted (virtual) stock of each product directly on the purchase order lines, so buyers can see availability while ordering.

This module adds a read-only column to the product lines of a purchase order that displays the forecasted stock quantity of the selected product. The value is taken from the product's own forecasted quantity, so it always reflects the same number Odoo shows elsewhere for that product.

Where it appears: - On the purchase order form, in the lines list, right after the invoiced quantity column. - The column is optional and shown by default, so users can hide it if they do not need it.

What it changes: - It only adds information; it does not create any check, restriction, automatic action, email or scheduled job. - The quantity is not editable and is not stored separately: it is simply displayed from the product record.

Which areas it touches: - Purchase orders (purchase.order) and their lines (purchase.order.line). - It relies on the product's forecasted quantity, which comes from the stock module.

Because the code is short and limited to a related field and a view change, no other behaviour is added.

Depends on

purchase_stock
Models and fields (1)
  • purchase.order.line · extends an existing modelvirtual_available

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Create a new purchase order and now you will see available stock of product on every purchase line.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.