From 97d7d16ba1cfe607650d0c337dbf3665b5438552 Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Mon, 25 Jan 2016 16:23:06 +0500 Subject: [PATCH] [FIX] inherit problem column "sent" of relation mail_compose_message does not exist --- models.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/models.py b/models.py index 9d011a3..2f9257b 100644 --- a/models.py +++ b/models.py @@ -18,3 +18,10 @@ class mail_notification(models.Model): def _notify(self, cr, uid, message_id, **kwargs): super(mail_notification, self)._notify(cr, uid, message_id, **kwargs) self.pool['mail.message'].browse(cr, uid, message_id)._get_sent() + + +class mail_compose_message(models.TransientModel): + + _inherit = 'mail.compose.message' + sent = fields.Boolean('Sent', help='dummy field to fix inherit error') +