From d1fce9b34274f62046f310bb886a429cc2646c49 Mon Sep 17 00:00:00 2001 From: Graeme Gellatly Date: Mon, 12 Feb 2024 14:19:31 +1300 Subject: [PATCH] [FIX] account_payment_order_notification: Set rec_name --- .../models/account_payment_order_notification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_payment_order_notification/models/account_payment_order_notification.py b/account_payment_order_notification/models/account_payment_order_notification.py index 0753ac822..a2ca5b54f 100644 --- a/account_payment_order_notification/models/account_payment_order_notification.py +++ b/account_payment_order_notification/models/account_payment_order_notification.py @@ -8,6 +8,7 @@ class AccountPaymentOrderNotification(models.Model): _name = "account.payment.order.notification" _description = "Payment Order Notification" _inherit = ["mail.thread"] + _rec_name = "display_name" order_id = fields.Many2one( comodel_name="account.payment.order",