From 2c8ecb70a902a50d246dc4732c9ae34f44a836d9 Mon Sep 17 00:00:00 2001 From: Ricardo Gomes Rodrigues Date: Fri, 3 Jan 2025 10:53:23 +0100 Subject: [PATCH] [IMP] util.indirect_references: new field iap_extracted_words IAP extracted words are now no longer only linked to `account.move`'s but can be linked to any model using `res_model` and `res_id`. See https://github.com/odoo/enterprise/pull/76437 --- src/util/indirect_references.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/indirect_references.py b/src/util/indirect_references.py index 7dbb0487..571193d0 100644 --- a/src/util/indirect_references.py +++ b/src/util/indirect_references.py @@ -64,6 +64,7 @@ def indirect_references(cr, bound_only=False): IR("data_merge_record", "res_model_name", "res_id"), IR("documents_document", "res_model", "res_id"), IR("email_template", "model", None, set_unknown=True), # stored related + IR("iap_extracted_words", "res_model", "res_id"), IR("mail_template", "model", None, set_unknown=True), # model renamed in saas~6 IR("mail_activity", "res_model", "res_id", "res_model_id"), IR("mail_activity_type", "res_model", None),