OdooWiki OCA HUB

Purchase Stock UBL

purchase_stock_ubl folder_open OCA/edi open_in_new
Purchase Management License: AGPL-3

This module integrates module Purchase Order UBL with module Stock/Inventory.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

This module connects purchase order UBL (electronic document) generation with inventory, so the delivery address used on the electronic purchase document can come from the warehouse.

This is a technical glue module that links the Purchase Order UBL feature with the Stock/Inventory application. It installs automatically when both are present, so users do not need to enable it manually.

Its only visible effect concerns the delivery address used when a purchase order is turned into a UBL electronic document. When a purchase order has no specific delivery address set, the module uses the address of the warehouse linked to the operation type of the order instead. If a delivery address is already filled in, or the warehouse has no address, the standard behaviour is kept.

  • It extends the purchase.order model.
  • It adds the get_delivery_partner method, which returns the warehouse partner when no delivery address is defined.
  • It touches the purchase order, the delivery address, the operation type and the warehouse.

No new menus, screens, buttons, reports, checks, emails or scheduled jobs are added by this module. It only changes which address is used on the generated electronic purchase document.

Depends on

purchase_stockpurchase_order_ubl
Models and fields (1)
  • purchase.order · extends an existing model

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

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.