-
- Downloads
[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:
"Romain Libert (rli)" <rli@odoo.com>
Loading
Please register or sign in to comment