[FIX] account_payment_order_notification: Set rec_name

This commit is contained in:
Graeme Gellatly
2024-02-12 14:19:31 +13:00
committed by Graeme Gellatly
parent 3f30ea3ed9
commit d1fce9b342

View File

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