[FIX] Bug {TypeError: dict.message.hasEmailCc is not a function} during the creation of a new document.

pull/418/head
Ihor 2019-07-22 18:10:59 +03:00 committed by OCA-git-bot
parent e502eb1b87
commit a7b41f421b
1 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,15 @@ odoo.define('mail_tracking.partner_tracking', function(require){
hasPartnerTrackings: function () { hasPartnerTrackings: function () {
return false; return false;
}, },
/**
* Messages do not have any email Cc values.
*
* @return {boolean}
*/
hasEmailCc: function () {
return false;
},
}); });
Message.include({ Message.include({