Skip to content

[19.0][IMP] import_res_id: activities - #32

Merged
bosd merged 1 commit into
19.0from
19.0-imp-import_res_id-activity
Nov 27, 2026
Merged

bosd merged 1 commit into
19.0from
19.0-imp-import_res_id-activity

Conversation

@bosd

@bosd bosd commented Nov 26, 2026

Copy link
Copy Markdown
Member

Adds res_external_id to mail.activity so to-dos and calls (deadline, assignee) can be imported on a document by its XML ID.

  • mail.activity.res_model is a stored readonly related of res_model_id, so the mixin got a hook _import_res_id_set_model(vals, model); mail.activity overrides it to set res_model_id.
  • Tests: load() of an activity with res_external_id (res_model / res_id / res_name), write, unknown XML ID.
  • Manifest summary, readme, app page and translations mention activities. Version 1.1.0.

Add res_external_id to mail.activity, so to-dos and calls can be imported
on a document by its XML ID. res_model is a readonly related of
res_model_id there, so the model is set through res_model_id.
@bosd
bosd merged commit f887461 into 19.0 Nov 27, 2026
3 checks passed
@bosd
bosd deleted the 19.0-imp-import_res_id-activity branch November 27, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant