Steps to reproduce
- Install
partner_contact_address_default.
- Install
auditlog.
- Create a parent with child contacts.
- Set child contacts as
partner_delivery_id / partner_invoice_id / partner_contact_id.
- Archive those child contacts.
- Call
address_get(["delivery", "invoice", "contact"]).
Current behavior
address_get() may return stale/unexpected ids.
Expected behavior
Archived child defaults should be ignored and fallback values should be returned.
Root cause
Parent default fields are cleared, but cache may still keep stale values in some
module interaction contexts.
Proposed fix
After clearing these fields on parent partners, explicitly invalidate:
partner_delivery_id
partner_invoice_id
partner_contact_id
Steps to reproduce
partner_contact_address_default.auditlog.partner_delivery_id/partner_invoice_id/partner_contact_id.address_get(["delivery", "invoice", "contact"]).Current behavior
address_get()may return stale/unexpected ids.Expected behavior
Archived child defaults should be ignored and fallback values should be returned.
Root cause
Parent default fields are cleared, but cache may still keep stale values in some
module interaction contexts.
Proposed fix
After clearing these fields on parent partners, explicitly invalidate:
partner_delivery_idpartner_invoice_idpartner_contact_id