[FIX] mail: prevents traceback when downloading rtc call logs
Before this commit, since https://github.com/odoo/odoo/pull/96954 , the `CallActionListView` had its `channel` field renamed into `thread`. A reference to this old field name was missed which caused the traceback, this commit fixes this issue by using the right field name. closes odoo/odoo#99447 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -12,7 +12,7 @@ registerModel({
|
||||
* @param {MouseEvent} ev
|
||||
*/
|
||||
async onClickDownloadLogs(ev) {
|
||||
const channel = this.callActionListView.channel;
|
||||
const channel = this.callActionListView.thread;
|
||||
if (!channel.rtc) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user