From 05ac2edd0bfb7d43fac9d2fecc9c687453416adf 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/rma_account/models/account_move.py b/rma_account/models/account_move.py index 4ce2146d..c83529dc 100644 --- a/rma_account/models/account_move.py +++ b/rma_account/models/account_move.py @@ -238,6 +238,7 @@ class AccountMoveLine(models.Model): comodel_name="rma.order.line", string="RMA line", ondelete="set null", + index=True, help="This will contain the rma line that originated this line", )