Skip to content
Snippets Groups Projects
Commit 30bbfff8 authored by RomainLibert's avatar RomainLibert
Browse files

[FIX] mail: set mail.activity.type related fields readonly


Currently it is not possible to create or write on a mail
activity without having the rights to write on mail activity type.

This is caused by the some related fields on mail activity are
not readonly hence trying to write on mail activity type

This issue was previously shadowed by a sudo call both in
the create and write methods, those disappeared
with the following commit odoo/odoo@b9c8ba83e6b367275eca28255dd7df9b8ac84aa1

As those fields should never have been defined as readonly=False,
this commit sets them to readonly=True

closes odoo/odoo#31468

Signed-off-by: default avatar"Romain Libert (rli)" <rli@odoo.com>
parent 6fc1f7d3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment