OdooWiki OCA HUB

Account Invoice Origin Link

account_invoice_origin_link folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: LGPL-3

This module adds a clickable link to the "Source Document" in Invoices.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Adds a clickable "Source Document" link on invoices and other accounting entries, so users can jump straight from the entry to the document it came from.

This module changes the invoice and journal entry form in Accounting. Next to the existing "Source Document" text field, it adds a new clickable reference field also called "Source Document".

  • When a document reference can be resolved, the clickable link is shown and the plain text field is hidden.
  • When no link can be resolved, the plain text field stays visible and the clickable field is hidden.

Technically, the module extends account.move with a computed reference field origin_reference. The computation depends on the invoice_origin field, so the link is recalculated whenever the source document text changes. In the code provided, the computation simply sets the value to empty, and the list of selectable models is empty, so the clickable link is not actually populated by this module alone; it is designed to be completed by other modules that know how to turn a source document name into a real record.

The change appears on the standard invoice/journal entry form (account.view_move_form), right after the source document field. No new menus, reports, emails or scheduled actions are added.

Depends on

account

Required by other modules

Models and fields (1)
  • account.move · extends an existing modelorigin_reference (Source Document)

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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/account-invoicing.

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.