From 4aa3f3f94eb094e18d7b381e0d0cdff0cc10ffb9 Mon Sep 17 00:00:00 2001 From: Ravi Gadhia Date: Mon, 21 Nov 2016 11:32:39 +0100 Subject: [PATCH] [IMP] account: add support of activities account.invoice model now supports activities. Filters have been added to ease their management. --- addons/account/models/account_invoice.py | 2 +- addons/account/views/account_invoice_view.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index 230d3e5df90..fe48cb54d1c 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -37,7 +37,7 @@ MAGIC_COLUMNS = ('id', 'create_uid', 'create_date', 'write_uid', 'write_date') class AccountInvoice(models.Model): _name = "account.invoice" - _inherit = ['mail.thread'] + _inherit = ['mail.thread', 'mail.activity.mixin'] _description = "Invoice" _order = "date_invoice desc, number desc, id desc" diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml index 40feb8caa75..16e36a1c04c 100644 --- a/addons/account/views/account_invoice_view.xml +++ b/addons/account/views/account_invoice_view.xml @@ -335,6 +335,7 @@
+
@@ -523,6 +524,18 @@ + + + + +