From e5bcbb4842581f48a9eb7d4aad9b1ded2bd3b999 Mon Sep 17 00:00:00 2001 From: manu Date: Mon, 24 Oct 2022 17:24:36 +0200 Subject: [PATCH] [IMP]account_payment_order: Add activities to account.payment.order model --- account_payment_order/models/account_payment_order.py | 2 +- account_payment_order/views/account_payment_order.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/account_payment_order/models/account_payment_order.py b/account_payment_order/models/account_payment_order.py index 1976a10d7..2846221b9 100644 --- a/account_payment_order/models/account_payment_order.py +++ b/account_payment_order/models/account_payment_order.py @@ -13,7 +13,7 @@ from odoo.exceptions import UserError, ValidationError class AccountPaymentOrder(models.Model): _name = "account.payment.order" _description = "Payment Order" - _inherit = ["mail.thread"] + _inherit = ["mail.thread", "mail.activity.mixin"] _order = "id desc" _check_company_auto = True diff --git a/account_payment_order/views/account_payment_order.xml b/account_payment_order/views/account_payment_order.xml index 61071a8c8..195352028 100644 --- a/account_payment_order/views/account_payment_order.xml +++ b/account_payment_order/views/account_payment_order.xml @@ -132,6 +132,7 @@
+