From 37a1a96637fab9a0be94ce552d1618f75605d3c1 Mon Sep 17 00:00:00 2001 From: Mateu Griful Date: Fri, 3 Sep 2021 09:22:21 +0200 Subject: [PATCH] [13.0][IMP] rma_account: 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 1f871392..dab1c310 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",