From 026d749d8fa4e432af26da1fa60243ad7a1eb203 Mon Sep 17 00:00:00 2001 From: Jordi Ballester Date: Thu, 2 Sep 2021 19:15:56 +0200 Subject: [PATCH] [rma_account][imp] allow to change the refund policy even when the rma has been approved. --- rma_account/models/rma_order_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rma_account/models/rma_order_line.py b/rma_account/models/rma_order_line.py index 64b1f0b8..cfdedfb6 100644 --- a/rma_account/models/rma_order_line.py +++ b/rma_account/models/rma_order_line.py @@ -94,7 +94,7 @@ class RmaOrderLine(models.Model): required=True, default="no", readonly=True, - states={"draft": [("readonly", False)]}, + states={"draft": [("readonly", False)], "approved": [("readonly", False)]}, ) qty_to_refund = fields.Float( string="Qty To Refund",