OdooWiki OCA HUB

Purchase Location address

stock_location_address_purchase folder_open OCA/stock-logistics-transport open_in_new
Purchases License: AGPL-3

Uses the location address on purchases

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Links purchase orders to the address of the destination warehouse location, so the delivery address on a purchase order is automatically filled from the receiving location.

This module connects the address stored on a stock location with the delivery address used on purchase orders. When a purchase order is created, Odoo looks at the destination location of the operation type (for example the receiving area of a warehouse) and, if that location is an internal one, copies its address onto the purchase order's delivery address.

  • The delivery address on a purchase order is computed automatically from the destination location of the selected operation type.
  • When a purchase order is generated automatically by a reordering rule, the same address is filled in if no address was set yet.
  • The destination location used for the receipt is kept consistent with that address, so the goods are received at the location whose address appears on the order.

It touches the purchase order (purchase.order) and the stock rule (stock.rule) used by reordering rules. No new menus, screens or reports are added; the change is visible directly in the delivery address field of purchase orders and in the destination location of the generated receipts.

Depends on

Models and fields (2)
  • stock.rule · extends an existing model
  • purchase.order · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/stock-logistics-transport.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.