Skip to content

Commit

Permalink
[IMP] util.indirect_references: new field iap_extracted_words
Browse files Browse the repository at this point in the history
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 odoo/enterprise#76437
  • Loading branch information
RicGR98 committed Jan 9, 2025
1 parent 0f737ea commit 2c8ecb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/indirect_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 2c8ecb7

Please sign in to comment.