From 37e70e17677f6578a9ce32894ef1ddc49ec7e5c5 Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Mon, 27 Feb 2023 16:08:38 +0100 Subject: [PATCH] [IMP] rma_account: add index in account.move.line to field 'rma_line_id' --- rma_account/models/account_move.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rma_account/models/account_move.py b/rma_account/models/account_move.py index 602b0542..bc92b5d9 100644 --- a/rma_account/models/account_move.py +++ b/rma_account/models/account_move.py @@ -170,5 +170,6 @@ class AccountMoveLine(models.Model): comodel_name="rma.order.line", string="RMA line refund", ondelete="set null", - help="This will contain the rma line that originated the refund line", + index=True, + help="This will contain the rma line that originated this line", )