OdooWiki OCA HUB

Purchase Order Origin Link

purchase_origin_link folder_open OCA/purchase-workflow open_in_new
Purchase License: LGPL-3

This module adds a clickable link to the "Source Document" in Purchase Orders. This module does nothing by itself, it needs some submodules to compute links to other documents.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Adds a clickable "Source Document" link on purchase orders. By itself it only prepares the field and hides the plain text origin; other modules must fill in the link.

This module changes the Purchase Order form so that the source document can be shown as a clickable link instead of plain text.

  • On the purchase order form, a new read-only field called "Source Document" is added right after the existing "Source Document" text field (origin).
  • The new field is only visible when it actually contains a link; when it is empty it stays hidden.
  • The original text field is automatically hidden as soon as the clickable link is filled in, so users see only one of the two, never both.
  • The link is computed automatically from the order's origin value, but in this module the computation always returns empty. The module is a building block: it does nothing visible on its own and needs companion modules to actually resolve the origin into a real document link.

It touches the purchase.order model and the standard purchase order form view. No menus, reports, emails, scheduled jobs or business rules are added by this module.

Depends on

purchase

Required by other modules

Models and fields (1)
  • purchase.order · extends an existing modelorigin_reference (Source Document)

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

Sources · Odoo 13.0

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

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.