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