[FIX] mail: remove readonly from isSquashed
There are situations where a message view is re-used in a different context where the isSquashed value has to change. For example a message being starred could be squashed in its original thread but not squashed in the starred box, leading to a crash before this fix. closes odoo/odoo#95403 Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
This commit is contained in:
@@ -13,7 +13,6 @@ registerModel({
|
||||
identifyingFields: ['messageListViewOwner', 'message'],
|
||||
fields: {
|
||||
isSquashed: attr({
|
||||
readonly: true,
|
||||
required: true,
|
||||
}),
|
||||
message: one('Message', {
|
||||
|
||||
Reference in New Issue
Block a user