[13.0][IMP] rma_account: allow to change the refund policy even when the rma has been approved

This commit is contained in:
Mateu Griful
2021-09-03 09:22:21 +02:00
parent 8742b8c4c2
commit 37a1a96637

View File

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