diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index b84aa3513cc..b2e9948986c 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -941,9 +941,6 @@ class AccountInvoice(models.Model): 'move_name': move.name, } inv.with_context(ctx).write(vals) - move.message_post_with_view('mail.message_origin_link', - values={'self': move, 'origin': inv}, - subtype_id=self.env.ref('mail.mt_note').id) return True @api.multi diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index b7f90e49624..22b7452d601 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -19,7 +19,6 @@ from lxml import etree class AccountMove(models.Model): _name = "account.move" _description = "Account Entry" - _inherit = ['mail.thread'] _order = 'date desc, id desc' @api.multi diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml index 117e855d141..20dd227179e 100644 --- a/addons/account/views/account_view.xml +++ b/addons/account/views/account_view.xml @@ -1459,10 +1459,6 @@ -