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",