Skip to content

[19.0][ADD] purchase_partner_display_ref#3094

Open
JasminSForgeFlow wants to merge 1 commit into
OCA:19.0from
ForgeFlow:19.0-add-purchase_partner_display_ref
Open

[19.0][ADD] purchase_partner_display_ref#3094
JasminSForgeFlow wants to merge 1 commit into
OCA:19.0from
ForgeFlow:19.0-add-purchase_partner_display_ref

Conversation

@JasminSForgeFlow

Copy link
Copy Markdown
Contributor

This module prefixes the supplier reference (res.partner.supplier_ref) to the
vendor's display_name whenever it is rendered inside a Purchase view —
typically as [V00045] Acme Supplies in the autocomplete dropdown of the vendor
field on a purchase order.

The decoration mechanism lives in the generic partner_display_ref module; this
module injects the partner_display_ref_field context key (set to
supplier_ref) into the Purchase views and registers supplier_ref as a
dependency of the vendor display_name. Other views that read display_name
continue to see the plain partner name.

Depends on:

@ForgeFlow

@OCA-git-bot OCA-git-bot added series:19.0 mod:purchase_partner_display_ref Module purchase_partner_display_ref labels Jun 8, 2026
@JasminSForgeFlow JasminSForgeFlow force-pushed the 19.0-add-purchase_partner_display_ref branch from 5ca952f to cd3e86d Compare June 10, 2026 05:01

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:purchase_partner_display_ref Module purchase_partner_display_ref series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants