Skip to main content
Odoo Community Association

Budget Control on Purchase with Stock

Alpha License: AGPL-3 ecosoft-odoo/budgeting

This module bridges purchase and stock budget control with a product-category inventory recognition policy and a company fallback:

  • Vendor Bill: posting the bill releases the PO commitment and records budget actual. Outgoing stock operations do not affect budget.

  • Stock Issue Valuation: posting the bill affects neither actual nor the PO commitment. Confirming an outgoing operation replaces the traceable PO commitment with a stock commitment; posting its valuation entry replaces that stock commitment with budget actual.

Each product category can use Company Default, Vendor Bill, or Stock Issue Valuation. The resolved policy is captured independently on each purchase order line and stock move, so mixed-policy purchase orders are supported and later configuration changes do not rewrite confirmed transactions. Returns preserve the original stock move policy.

Services and other non-storable products always use Vendor Bill. Stock Issue requires automated inventory valuation. It also applies to outgoing quantities that did not originate from a purchase (for example, manufactured stock) when their product category uses Stock Issue; a Vendor Bill category intentionally excludes all of its outgoing stock operations from budget.

Lot-tracked products release the exact source PO commitment. Non-lot products use company- and budget-period-scoped product FIFO across received PO lines, ordered by PO date. Quantity is converted between stock and purchase UoMs, and remaining commitment caps use company-currency values. Cancelling an outgoing operation restores its PO commitment, while a stock return reverses the issue actual without recreating the fulfilled PO commitment.

Table of contents

Configuration

  1. In Budget > Configuration > Settings, choose the company’s Default Inventory Budget Actual Source.

  2. On each Product Category, choose Company Default, Vendor Bill, or Stock Issue Valuation under Inventory Valuation.

  3. Categories using Stock Issue must use automated inventory valuation.

The category setting is company-specific. Services and non-storable products always use Vendor Bill. Company and category changes apply to new PO-line and stock-move snapshots; finish open purchase/delivery flows before changing a policy for the same product.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Ecosoft

Contributors

Maintainers

Current maintainer:

Saran440

This module is part of the ecosoft-odoo/budgeting project on GitHub.

You are welcome to contribute.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_budget_control_purchase_stock-18.0.2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_budget_control_purchase_stock-18.0.2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b317efba781bba64109694e663804896b01af9b69bb02458b57133ecb806b3f
MD5 c510a6dea05a93219977ed3a9978a9a3
BLAKE2b-256 954c6fcd8dc3c623a0dc6ec7092da344e11513dd9ea725097bdb8bdae658daad

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

18.0.2.0.0 This release

1 file

18.0.1.0.1

1 file

18.0.1.0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page