OdooWiki OCA HUB

Purchase Order Origin Link Sale

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

This module adds a clickable link to Sale Orders on the Source Document of Purchase Orders. It depends on the base module: purchase_origin_link

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Adds a clickable link to the related Sale Order in the Source Document field of Purchase Orders, so buyers can jump straight from a purchase to the sale that generated it.

When a Purchase Order is created from a Sale Order, the Source Document field usually shows only the sale order's name as plain text. This module turns that text into a clickable link that opens the corresponding Sale Order.

  • It works automatically: no new menu or button is added. The link appears in the Source Document field already present on the Purchase Order form.
  • The module recognises "Sale Order" as a possible reference type for that field, alongside the types already supported by the base module.
  • When the Source Document value is not yet linked, the system looks for a Sale Order whose reference matches the text in the field. If one is found, the field is updated to point to that Sale Order.
  • The link is recalculated automatically when the relevant values change, so it stays correct.

It touches the purchase.order model and depends on the purchase_origin_link and sale modules. It installs automatically when both are present.

Depends on

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

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.